We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24bad05 commit 54a7ff9Copy full SHA for 54a7ff9
1 file changed
OREAnalytics-SWIG/Python/Examples/runExamples.sh
@@ -1,12 +1,13 @@
1
#!/bin/sh
2
-status = 0
+status=0
3
+return_code=0
4
for file in *.py; do
5
if [ -f "$file" ]; then
6
echo RUN $file
- python3 "$file" || status = 1
7
- return_code = $?
8
- if [$return_code -gt $status]; then
9
- status = $return_code
+ python3 "$file" || status=1
+ return_code=$?
+ if [ $return_code -gt $status ]; then
10
+ status=$return_code
11
fi
12
13
done
0 commit comments