X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/cce156e037cf0e04db479c4eea768c0a933ae4b2..bb5a254163ca86ab66bb864b82e5298da6a11285:/drin.in?ds=sidebyside 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