pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/repro
Module Name: pkgsrc
Committed By: khorben
Date: Sun Nov 12 16:41:40 UTC 2017
Modified Files:
pkgsrc/mk/repro: ar
Log Message:
Look for ar(1) in $_ORIG_PATH with PKGSRC_MKREPRO
This no longer hard-codes the path to ar(1) as /usr/bin/ar. It is not
possible to use the original value of $TOOLS_PATH.ar as it is usually
not set.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mk/repro/ar
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/repro/ar
diff -u pkgsrc/mk/repro/ar:1.1 pkgsrc/mk/repro/ar:1.2
--- pkgsrc/mk/repro/ar:1.1 Sun Nov 12 13:34:14 2017
+++ pkgsrc/mk/repro/ar Sun Nov 12 16:41:40 2017
@@ -1,11 +1,13 @@
#!/bin/sh
+PATH="$_PATH_ORIG"
+
if [ $# -ge 2 ]; then
args="$1"
mod="$2"
shift 2
- exec /usr/bin/ar "$mod$args" "$@"
+ exec ar "$mod$args" "$@"
else
- exec /usr/bin/ar "$@"
+ exec ar "$@"
fi
Home |
Main Index |
Thread Index |
Old Index