diff options
author | OBATA Akio <obache@wizdas.com> | 2019-08-15 17:02:19 +0900 |
---|---|---|
committer | OBATA Akio <obache@wizdas.com> | 2019-08-15 17:23:01 +0900 |
commit | 0009cb8171f141e113777e7f6557a0cfa1542d5a (patch) | |
tree | d1e7cb6a0ae3aba7d4b72ca4d475b276fe1f895d /karm/test/refresh_on_change.sh | |
parent | c349db5d278566f8f129e8bd54751155fad49d9e (diff) | |
download | tdepim-0009cb8171f141e113777e7f6557a0cfa1542d5a.tar.gz tdepim-0009cb8171f141e113777e7f6557a0cfa1542d5a.zip |
fix some sh portability fixes
Replace bash specific way with POSIX one.
Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'karm/test/refresh_on_change.sh')
-rwxr-xr-x | karm/test/refresh_on_change.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/karm/test/refresh_on_change.sh b/karm/test/refresh_on_change.sh index 6253c63b6..0f0200807 100755 --- a/karm/test/refresh_on_change.sh +++ b/karm/test/refresh_on_change.sh @@ -6,7 +6,7 @@ exec >>check.log 2>&1 -source __lib.sh +. /__lib.sh TESTFILE="/tmp/testkarm.ics" @@ -48,7 +48,7 @@ RVAL=`dcop $DCOPID KarmDCOPIface taskIdFromName $TODO_NAME` tear_down # check that todo was found -if [ "$RVAL" == "$TODO_UID" ]; then +if [ "$RVAL" = "$TODO_UID" ]; then echo "PASS $0" exit 0; else |