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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/cvsaddcurrentdir') 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 } -- cgit v1.2.1