diff options
author | midipix <writeonce@midipix.org> | 2018-05-19 13:00:27 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-05-19 13:00:27 -0400 |
commit | 94baf9164772f955e28a37fa0f4b3ae58fce30a2 (patch) | |
tree | f455b52ba0587033292bab2ef342761b38ccd79b | |
parent | 6e8f8861c5424b9ebe0a54e423ff396a42444e3e (diff) | |
download | mpackage-94baf9164772f955e28a37fa0f4b3ae58fce30a2.tar.bz2 mpackage-94baf9164772f955e28a37fa0f4b3ae58fce30a2.tar.xz |
mpackage.sh: fixed [] syntax typo.
-rwxr-xr-x | mpackage.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |