fix arg passthrough

Wed, 03 Aug 2022 00:11:19 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 03 Aug 2022 00:11:19 -0500
changeset 995
ef237971026b
parent 994
d8f003e828e1
child 996
5563c242fe04

fix arg passthrough

.lib/sh/stubexec.sh file | annotate | diff | comparison | revisions
--- a/.lib/sh/stubexec.sh
+++ b/.lib/sh/stubexec.sh
@@ -30,10 +30,10 @@ realbin() {
 stubexec() {
   local real_bin="$(realbin "$0")"
   if [ -x "$real_bin" ]; then
-    exec "$real_bin" $*
+    exec "$real_bin" "$@"
   fi
   install_it
-  stubexec $*
+  stubexec "$@"
 }
 
 stubexec "$@"

mercurial