summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2017-01-18 12:44:01 (GMT)
committer Jaromil <jaromil@dyne.org>2017-01-18 12:44:01 (GMT)
commit8da47296a672b1a2a10621d70a87ce88c94b566d (patch)
treec039ad044e9c9ef7fd5bd0a50fa37624b657b41e
parentc51e6d280ed3ed6d2661845bf493e40aefb9ca4a (diff)
avoid overwriting caller's shell PATH
-rwxr-xr-xsrc/jaro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jaro b/src/jaro
index 38fc6aa..de85dd7 100755
--- a/src/jaro
+++ b/src/jaro
@@ -187,7 +187,7 @@ mkdir="`command -v mkdir` -m 700 -p"
act "System in $WORKDIR"
-PATH=$WORKDIR/bin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin::/opt/local/bin
+PATH="$WORKDIR/bin:$PATH"
# load our ZLibs
if [ -d $WORKDIR/zlibs ]; then