diff --git a/mpackage.sh b/mpackage.sh index 78b4827..58be2b1 100755 --- a/mpackage.sh +++ b/mpackage.sh @@ -102,11 +102,11 @@ validate_args() fi - if ! [ -z "$mb_usrpkgs" ] && ! [ -d "$mb_usrpkgs"]; then + if ! [ -z "$mb_usrpkgs" ] && ! [ -d "$mb_usrpkgs" ]; then error_msg "!! $mb_usrpkgs: usrpkgs directory does not exist, quitting..." fi - if ! [ -z "$mb_usrdata" ] && ! [ -d "$mb_usrdata"]; then + if ! [ -z "$mb_usrdata" ] && ! [ -d "$mb_usrdata" ]; then error_msg "!! $mb_usrdata: usrdata directory does not exist, quitting..." fi