llvm.org GIT mirror llvm / df40801
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 Joerg Sonnenberger 5 years ago
2 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
88 fi
99
1010 # Parse command line arguments.
11 if [ "$1" == "--generate-html" ]; then
11 if [ "$1" = "--generate-html" ]; then
1212 GENERATE_HTML=1
1313 shift
1414 fi
1515
1616 # If invoked with no arguments, run all the tests.
17 if [ $# == "0" ]; then
17 if [ $# = "0" ]; then
1818 set -- "tests"
1919 fi
2020
0 #!/bin/sh
11
2 if [ $# == 1 ]; then
2 if [ $# = 1 ]; then
33 cd $1
44 fi
55