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:
Martin Storsjö committed 2021-02-09 13:54:16 +02:00
1 parent ee0585ae9e
commit cc0055bc96
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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"