aboutsummaryrefslogtreecommitdiff
path: root/runltp
diff options
context:
space:
mode:
authorCyril Hrubis <chrubis@suse.cz>2014-03-24 13:32:01 +0100
committerCyril Hrubis <chrubis@suse.cz>2014-03-24 13:32:01 +0100
commite8776eab0c7d5d255f3e0bbe93d597930337fa0e (patch)
tree7ec71b994cf4af518ba34f195f5e9107f06d180f /runltp
parentbc63a8f0b40b94deb7c523028368e619dc194ef1 (diff)
runltp, runltplite.sh: Fix bashism.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'runltp')
-rwxr-xr-xrunltp4
1 files changed, 1 insertions, 3 deletions
diff --git a/runltp b/runltp
index 3c8b94e60..9cb5fe829 100755
--- a/runltp
+++ b/runltp
@@ -995,10 +995,8 @@ cleanup()
LTP_SCRIPT="$(basename $0)"
-if [[ "$LTP_SCRIPT" == "runltp" ]]; then
+if [ "$LTP_SCRIPT" = "runltp" ]; then
trap "cleanup" 0
setup
main "$@"
fi
-
-#vim: syntax=sh