Fix test(1) portability

Signed-off-by: OBATA Akio <obache@wizdas.com>
pull/6/head
OBATA Akio 5 years ago
parent dd87cb8e2b
commit 3237e9ea17

@ -17,7 +17,7 @@ ask_for_adding() {
echo echo
read -p "Add file $file to cvs ? (y/n) " answer rest read -p "Add file $file to cvs ? (y/n) " answer rest
#if [ "$answer" != "y" ]; then echo $file; fi #if [ "$answer" != "y" ]; then echo $file; fi
if [ "$answer" == "y" ]; then cvs add $file; fi if [ "$answer" = "y" ]; then cvs add $file; fi
} }

@ -17,7 +17,7 @@ ask_for_adding() {
echo echo
read -p "Add file $file to SVN ? (y/n) " answer rest read -p "Add file $file to SVN ? (y/n) " answer rest
#if [ "$answer" != "y" ]; then echo $file; fi #if [ "$answer" != "y" ]; then echo $file; fi
if [ "$answer" == "y" ]; then svn add $file; fi if [ "$answer" = "y" ]; then svn add $file; fi
} }

Loading…
Cancel
Save