Fix test(1) portability

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 3237e9ea17)
r14.0.x
OBATA Akio 5 years ago committed by Michele Calgaro
parent db40bdd02a
commit 5424f770ff
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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
}

@ -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
}

Loading…
Cancel
Save