mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-24 04:32:09 +00:00
Fix test syntax to work with non-bash /bin/sh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206119 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2c2ba4c605
commit
df40801dff
@ -9,13 +9,13 @@ if [ ! -f setup.py ] || [ ! -d lit ]; then
|
||||
fi
|
||||
|
||||
# Parse command line arguments.
|
||||
if [ "$1" == "--generate-html" ]; then
|
||||
if [ "$1" = "--generate-html" ]; then
|
||||
GENERATE_HTML=1
|
||||
shift
|
||||
fi
|
||||
|
||||
# If invoked with no arguments, run all the tests.
|
||||
if [ $# == "0" ]; then
|
||||
if [ $# = "0" ]; then
|
||||
set -- "tests"
|
||||
fi
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ $# == 1 ]; then
|
||||
if [ $# = 1 ]; then
|
||||
cd $1
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user