aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-01-12 10:27:44 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2015-01-12 10:27:44 +0530
commit72a9761d3471ac3fd70ae709a3f9cc10937c1cee (patch)
tree02fc33698a6518f2cfc91d5bee09305923b7461e
parent19776b5266b649dfaf07d3c3ac10f5292a46f22f (diff)
return can only be used from files which get sourced
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
-rwxr-xr-xrunme.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/runme.sh b/runme.sh
index b16e552..261d957 100755
--- a/runme.sh
+++ b/runme.sh
@@ -3,13 +3,6 @@
# parameters:
# - $1: Name of the output file with all the logs, dump.txt by default.
-# protect against multiple inclusion
-if [ $FILE_RUNME ]; then
- return 0
-else
- FILE_RUNME=DONE
-fi
-
source cpu.sh
source governor.sh
source special-tests.sh