diff --git a/linux/setup/setup_jarscan.sh b/linux/setup/setup_jarscan.sh index 115fb12..ffe005c 100755 --- a/linux/setup/setup_jarscan.sh +++ b/linux/setup/setup_jarscan.sh @@ -19,8 +19,8 @@ mkdir -p /opt/scripts cp "../python/$script_fn" "/opt/scripts/$script_fn" # Create executable as a script, install to local/bin -echo "/usr/bin/python3 /opt/scripts/$script_fn" > $cmd_name +echo "/usr/bin/python3 /opt/scripts/$script_fn \"\$@\"" > $cmd_name chmod +x $cmd_name mv $cmd_name /usr/local/bin -echo "Done! Try the command '$cmd_name' to see the effects!" \ No newline at end of file +echo "Done! Try the command '$cmd_name' to see the effects!" diff --git a/linux/setup/setup_makerand.sh b/linux/setup/setup_makerand.sh index 6db451a..174ffd4 100755 --- a/linux/setup/setup_makerand.sh +++ b/linux/setup/setup_makerand.sh @@ -19,8 +19,8 @@ mkdir -p /opt/scripts cp "../python/$script_fn" "/opt/scripts/$script_fn" # Create executable as a script, install to local/bin -echo "/usr/bin/python3 /opt/scripts/$script_fn" > $cmd_name +echo "/usr/bin/python3 /opt/scripts/$script_fn \"\$@\"" > $cmd_name chmod +x $cmd_name mv $cmd_name /usr/local/bin -echo "Done! Try the command '$cmd_name' to see the effects!" \ No newline at end of file +echo "Done! Try the command '$cmd_name' to see the effects!"