summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a031f3a)
- ar(1) is not alias-able or function-able by shell through make(1).
--- /dev/null
+#! /bin/bash
+exec passg "$0" "$@"
--- /dev/null
+#! /bin/sh
+arg0="$1"
+shift
+me="`basename "$arg0"`"
+# FIXME: Why not: IFS=: for i in...
+save_IFS="$IFS"
+IFS=:
+for i in $PATH;do
+ IFS="$save_IFS"
+ test -x "$i/$me" -a "$i/$me" != "$arg0" || continue
+ exec "$i/$me" "$@"
+ echo "NOTREACHED" && exit 1
+ done
+IFS="$save_IFS"
+exec "g$me" "$@"