wrappers: fix PATH not working when there are spaces in them

This commit is contained in:
Steve Lhomme authored and Martin Storsjö committed 2019-05-17 12:36:00 +03:00
1 parent a959509701
commit 4f5134fb25
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/sh
DIR="$(cd "$(dirname "$0")" && pwd)"
export PATH=$DIR:$PATH
export PATH="$DIR":"$PATH"
BASENAME="$(basename "$0")"
TARGET="${BASENAME%-*}"
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/sh
DIR="$(cd "$(dirname "$0")" && pwd)"
export PATH=$DIR:$PATH
export PATH="$DIR":"$PATH"
if [ "$1" = "--help" ]; then
cat<<EOF
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/sh
DIR="$(cd "$(dirname "$0")" && pwd)"
export PATH=$DIR:$PATH
export PATH="$DIR":"$PATH"
if [ "$1" = "-f" ]; then
# libtool can try to run objdump -f and wants to see certain strings in