From 7837f1c7c0c645edc46831eb887815397e2dd740 Mon Sep 17 00:00:00 2001 From: Victor Frazao Date: Mon, 15 Mar 2021 13:51:38 -0400 Subject: [PATCH] Fix package init script to use "$@" in run file instead of "$*" --- packages/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/init b/packages/init index 2bf65cc..5a0c9b9 100755 --- a/packages/init +++ b/packages/init @@ -54,7 +54,7 @@ echo "# Put 'export' statements here for environment variables" >> environment echo "export PATH=\$PWD/bin:\$PATH" >> environment echo "# Put instructions to run the runtime" >> run -echo "$NAME-$VERSION \$*" >> run +echo "$NAME-$VERSION \"\$@\"" >> run echo "# Put instructions to compile source code, remove this file if the language does not require this stage" >> compile @@ -62,4 +62,4 @@ jq '.language = "'$NAME'" | .version = "'$VERSION'" | .aliases = [] | .author = cd - > /dev/null -echo $DIR \ No newline at end of file +echo $DIR