Fix the help printouts in scripts
Printing '<triple>' causes the shell to try to read a file named triple. One could either quote it, or just remove the angle brackets; removing the brackets for simplicity.
This commit is contained in:
1 parent
ee0585ae9e
commit
cc0055bc96
5 files changed
+5
-5
No files matched your search
+1
-1
@@ -45,7 +45,7 @@ while [ $# -gt 0 ]; do
|
||||
done
|
||||
if [ -z "$CHECKOUT_ONLY" ]; then
|
||||
if [ -z "$PREFIX" ]; then
|
||||
echo $0 [--enable-asserts] [--full-llvm] [--host=<triple>] dest
|
||||
echo $0 [--enable-asserts] [--full-llvm] [--host=triple] dest
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ while [ $# -gt 0 ]; do
|
||||
shift
|
||||
done
|
||||
if [ -z "$PREFIX" ]; then
|
||||
echo $0 [--host=<triple>] dest
|
||||
echo $0 [--host=triple] dest
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ while [ $# -gt 0 ]; do
|
||||
done
|
||||
if [ -z "$CHECKOUT_ONLY" ]; then
|
||||
if [ -z "$PREFIX" ]; then
|
||||
echo $0 [--skip-include-triplet-prefix] [--host=<triple>] dest
|
||||
echo $0 [--skip-include-triplet-prefix] [--host=triple] dest
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ while [ $# -gt 0 ]; do
|
||||
shift
|
||||
done
|
||||
if [ -z "$PREFIX" ]; then
|
||||
echo $0 [--host=<triple>] dest
|
||||
echo $0 [--host=triple] dest
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p "$PREFIX"
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ while [ $# -gt 0 ]; do
|
||||
shift
|
||||
done
|
||||
if [ -z "$PREFIX" ]; then
|
||||
echo $0 [--host=<triple>] dir
|
||||
echo $0 [--host=triple] dir
|
||||
exit 1
|
||||
fi
|
||||
cd "$PREFIX"
|
||||
|
||||
Reference in new issue
Block a user