summaryrefslogtreecommitdiffstats
path: root/karm/test/delete.sh
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-08-15 17:02:19 +0900
committerOBATA Akio <obache@wizdas.com>2019-08-15 17:23:01 +0900
commit0009cb8171f141e113777e7f6557a0cfa1542d5a (patch)
treed1e7cb6a0ae3aba7d4b72ca4d475b276fe1f895d /karm/test/delete.sh
parentc349db5d278566f8f129e8bd54751155fad49d9e (diff)
downloadtdepim-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/delete.sh')
-rwxr-xr-xkarm/test/delete.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/karm/test/delete.sh b/karm/test/delete.sh
index 78f04a7de..b0ea38bf8 100755
--- a/karm/test/delete.sh
+++ b/karm/test/delete.sh
@@ -7,7 +7,7 @@ exec >> check.log 2>&1
TESTFILE="/tmp/testkarm1.ics"
rm $TESTFILE
-source __lib.sh
+. ./__lib.sh
set_up
@@ -24,7 +24,7 @@ RVAL=`dcop $DCOPID KarmDCOPIface version 2>/dev/null`
tear_down
-if [ "$RVAL" == "" ]; then
+if [ "$RVAL" = "" ]; then
echo "FAIL $0: got no version."
exit 1;
else