Skip to content

Commit b0277a6

Browse files
Merge pull request #712 from ldorau/Fix_comparing_strings_in_bash
Fix comparing strings in bash
2 parents 9e57192 + c509c48 commit b0277a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_examples.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function print_usage() {
1717
echo "Usage: $(basename $0) <source_dir> <build_dir> <install_dir> <CMAKE_INSTALL_PREFIX> <list-of-examples-to-run>"
1818
}
1919

20-
if [ "$5" == "" ]; then
20+
if [ "$5" = "" ]; then
2121
print_usage
2222
echo -e "Error: too few arguments\n"
2323
exit 1

test/test_valgrind.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if ! valgrind --version > /dev/null; then
2020
exit 1
2121
fi
2222

23-
if [ "$3" == "" ]; then
23+
if [ "$3" = "" ]; then
2424
echo -e "error: too few arguments\n"
2525
print_usage
2626
exit 1

0 commit comments

Comments
 (0)