Use the shell logical operators, avoid the non-portable -o and -a in "test"
[drupal-init-tools.git] / libexec / create-profile.sh
index 4ccdc9b..fae4bcc 100755 (executable)
@@ -47,7 +47,7 @@ do
 done
 
 
-[ "x$1" = "x" -o  "x$2" = "x" ] && { usage 1>&2; exit 1; }
+{ [ "x$1" = "x" ] || [ "x$2" = "x" ]; } && { usage 1>&2; exit 1; }
 
 PROFILE_TITLE="$1"
 PROFILE_MACHINE_NAME="$2"