wrappers: fix PATH not working when there are spaces in them
This commit is contained in:
1 parent
a959509701
commit
4f5134fb25
3 files changed
+3
-3
No files matched your search
@@ -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,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,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
|
||||
|
||||
Reference in new issue
Block a user