X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/9725959472f76a32e61b26e6b838a1e85c314ed2..50b546739d6ba90d12b21700dcd02cebc07f0b7f:/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