X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/cce156e037cf0e04db479c4eea768c0a933ae4b2..e952591fbade4a5eff19e7497806a434c32d9590:/drin.in diff --git a/drin.in b/drin.in index 4ba7583..b3abfae 100644 --- a/drin.in +++ b/drin.in @@ -18,7 +18,7 @@ set -e -PROGNAME=$(basename $0) +PROGNAME=$(basename "$0") LIBEXEC="@libexec@" usage() { @@ -35,7 +35,7 @@ EOF for subcommand in ${LIBEXEC}/*.sh; do - echo " $(basename $subcommand .sh)" + echo " $(basename "$subcommand" .sh)" done } @@ -59,7 +59,7 @@ do exit 1 else shift - exec $subcommand "$@" + exec "$subcommand" "$@" fi ;; esac