summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2020-01-11 17:07:12 +0900
committerOBATA Akio <obache@wizdas.com>2020-01-11 17:07:12 +0900
commit3237e9ea17f1aec01ae9bb67066abbd94688b779 (patch)
tree77ee9a63dfda3738f689ae4910e5f6a25ed7f2f2 /scripts
parentdd87cb8e2b7653856aee2f505137a6db65e1efe9 (diff)
downloadtdesdk-3237e9ea17f1aec01ae9bb67066abbd94688b779.tar.gz
tdesdk-3237e9ea17f1aec01ae9bb67066abbd94688b779.zip
Fix test(1) portability
Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cvsaddcurrentdir2
-rwxr-xr-xscripts/svnaddcurrentdir2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cvsaddcurrentdir b/scripts/cvsaddcurrentdir
index 56185f27..669dcc8b 100755
--- a/scripts/cvsaddcurrentdir
+++ b/scripts/cvsaddcurrentdir
@@ -17,7 +17,7 @@ ask_for_adding() {
echo
read -p "Add file $file to cvs ? (y/n) " answer rest
#if [ "$answer" != "y" ]; then echo $file; fi
-if [ "$answer" == "y" ]; then cvs add $file; fi
+if [ "$answer" = "y" ]; then cvs add $file; fi
}
diff --git a/scripts/svnaddcurrentdir b/scripts/svnaddcurrentdir
index 2474bb01..53eb384a 100755
--- a/scripts/svnaddcurrentdir
+++ b/scripts/svnaddcurrentdir
@@ -17,7 +17,7 @@ ask_for_adding() {
echo
read -p "Add file $file to SVN ? (y/n) " answer rest
#if [ "$answer" != "y" ]; then echo $file; fi
-if [ "$answer" == "y" ]; then svn add $file; fi
+if [ "$answer" = "y" ]; then svn add $file; fi
}