summaryrefslogtreecommitdiffstats
path: root/scripts/cvsaddcurrentdir
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2020-01-11 17:07:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-12 01:26:44 +0900
commit5424f770ffdc325b836827aead7df1adda410733 (patch)
tree8ef69fedbdc4ff4f1d61eb2691775389bf39988e /scripts/cvsaddcurrentdir
parentdb40bdd02aeaed8c9edae625e6d5c200eb551794 (diff)
downloadtdesdk-5424f770ffdc325b836827aead7df1adda410733.tar.gz
tdesdk-5424f770ffdc325b836827aead7df1adda410733.zip
Fix test(1) portability
Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 3237e9ea17f1aec01ae9bb67066abbd94688b779)
Diffstat (limited to 'scripts/cvsaddcurrentdir')
-rwxr-xr-xscripts/cvsaddcurrentdir2
1 files changed, 1 insertions, 1 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
}