diff options
author | OBATA Akio <obache@wizdas.com> | 2020-01-11 17:07:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-12 01:26:44 +0900 |
commit | 5424f770ffdc325b836827aead7df1adda410733 (patch) | |
tree | 8ef69fedbdc4ff4f1d61eb2691775389bf39988e | |
parent | db40bdd02aeaed8c9edae625e6d5c200eb551794 (diff) | |
download | tdesdk-5424f770ffdc325b836827aead7df1adda410733.tar.gz tdesdk-5424f770ffdc325b836827aead7df1adda410733.zip |
Fix test(1) portability
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 3237e9ea17f1aec01ae9bb67066abbd94688b779)
-rwxr-xr-x | scripts/cvsaddcurrentdir | 2 | ||||
-rwxr-xr-x | scripts/svnaddcurrentdir | 2 |
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 } |