From 3237e9ea17f1aec01ae9bb67066abbd94688b779 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sat, 11 Jan 2020 17:07:12 +0900 Subject: Fix test(1) portability Signed-off-by: OBATA Akio --- scripts/cvsaddcurrentdir | 2 +- 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 } -- cgit v1.2.1