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
|
done
|
||||||
if [ -z "$CHECKOUT_ONLY" ]; then
|
if [ -z "$CHECKOUT_ONLY" ]; then
|
||||||
if [ -z "$PREFIX" ]; 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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ while [ $# -gt 0 ]; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
if [ -z "$PREFIX" ]; then
|
if [ -z "$PREFIX" ]; then
|
||||||
echo $0 [--host=<triple>] dest
|
echo $0 [--host=triple] dest
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ while [ $# -gt 0 ]; do
|
|||||||
done
|
done
|
||||||
if [ -z "$CHECKOUT_ONLY" ]; then
|
if [ -z "$CHECKOUT_ONLY" ]; then
|
||||||
if [ -z "$PREFIX" ]; 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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ while [ $# -gt 0 ]; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
if [ -z "$PREFIX" ]; then
|
if [ -z "$PREFIX" ]; then
|
||||||
echo $0 [--host=<triple>] dest
|
echo $0 [--host=triple] dest
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
mkdir -p "$PREFIX"
|
mkdir -p "$PREFIX"
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ while [ $# -gt 0 ]; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
if [ -z "$PREFIX" ]; then
|
if [ -z "$PREFIX" ]; then
|
||||||
echo $0 [--host=<triple>] dir
|
echo $0 [--host=triple] dir
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cd "$PREFIX"
|
cd "$PREFIX"
|
||||||
|
|||||||
Reference in new issue
Block a user