diff options
author | OBATA Akio <obache@wizdas.com> | 2019-08-15 17:02:19 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-08-15 22:32:42 +0200 |
commit | e951a69396ba1614775ba97dcac7dd34153c864a (patch) | |
tree | 1552f0592339ff537d833a83be036dfe14cc625f /karm/test/version.sh | |
parent | 0e5f517eb7d525e245293dfa51a86b00b1b72e34 (diff) | |
download | tdepim-e951a69396ba1614775ba97dcac7dd34153c864a.tar.gz tdepim-e951a69396ba1614775ba97dcac7dd34153c864a.zip |
fix some sh portability fixes
Replace bash specific way with POSIX one.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 0009cb8171f141e113777e7f6557a0cfa1542d5a)
Diffstat (limited to 'karm/test/version.sh')
-rwxr-xr-x | karm/test/version.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/karm/test/version.sh b/karm/test/version.sh index 64fbc8fb0..6350e73cb 100755 --- a/karm/test/version.sh +++ b/karm/test/version.sh @@ -7,7 +7,7 @@ exec >>check.log 2>&1 TESTFILE="/tmp/testkarm1.ics" VERSION="1.6.0" -source __lib.sh +. ./__lib.sh set_up @@ -15,7 +15,7 @@ RVAL=`dcop $DCOPID KarmDCOPIface version 2>/dev/null` tear_down -if [ "$RVAL" == "$VERSION" ]; then +if [ "$RVAL" = "$VERSION" ]; then echo "PASS $0" exit 0; else |