From: Kern Sibbald Date: Sun, 31 Dec 2006 17:40:31 +0000 (+0000) Subject: Final changes X-Git-Tag: Release-2.0.0~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd068abab762fe8c98363fbe419eb2d4a74ecff0;p=bacula%2Fbacula Final changes git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3880 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/examples/database/bacula-sqlite_2_mysqldump.sh b/bacula/examples/database/bacula-sqlite_2_mysqldump.sh index 4b7a703099..58f4dbf08f 100755 --- a/bacula/examples/database/bacula-sqlite_2_mysqldump.sh +++ b/bacula/examples/database/bacula-sqlite_2_mysqldump.sh @@ -7,7 +7,7 @@ # Modified by Silas Bennett , April 2006 for use with Bacula 1.36.2 # -if [ $1 == '-h' ] || [ $1 == '--help' ] ; then +if [ $1 = '-h' ] || [ $1 = '--help' ] ; then echo `basename "$0"`" Usage:" echo " "`basename $0`" takes a ASCII bacula sqlite database dump as an argument," echo " and writes an SQL dump suitable for use with MySQL to STDOUT." diff --git a/bacula/platforms/contrib-rpm/rpm_wizard.sh b/bacula/platforms/contrib-rpm/rpm_wizard.sh index c26b32342d..d5ca0d220d 100755 --- a/bacula/platforms/contrib-rpm/rpm_wizard.sh +++ b/bacula/platforms/contrib-rpm/rpm_wizard.sh @@ -20,7 +20,7 @@ fi zenity --question --text "Bacula rpm rebuilding wizard. Do you wish to continue?" RESULT="$?" -if [ "$RESULT" == "1" ]; +if [ "$RESULT" = "1" ]; then exit; fi @@ -32,7 +32,7 @@ PACKAGER=`zenity --text-info --editable --height=25 --width=300 --title="Enter Y SELECTED_FILE=`zenity --file-selection --title "Choose SRPM file to rebuild"` RESULT="$?" -if [ "$RESULT" == "1" ]; +if [ "$RESULT" = "1" ]; then exit; fi @@ -41,7 +41,7 @@ fi PLATFORM=`zenity --title "Select Platform" --text "Please choose a build platform." --list --radiolist --column "Select" --column "Platform" False rh7 False rh8 False rh9 False fc1 False fc3 False fc4 False fc5 False wb3 False rhel3 False rhel4 False centos3 False centos4 False su9 False su10 False mdk False mdv` RESULT="$?" -if [ "$RESULT" == "1" ]; +if [ "$RESULT" = "1" ]; then exit; fi @@ -50,7 +50,7 @@ fi DATABASE=`zenity --title "Select Database" --text "Please choose database support." --list --radiolist --column "Select" --column "Platform" False sqlite False mysql False mysql4 False mysql5 False postgresql False client_only` RESULT="$?" -if [ "$RESULT" == "1" ]; +if [ "$RESULT" = "1" ]; then exit; fi @@ -59,7 +59,7 @@ fi OPTIONS=`zenity --title "Select Options" --text "Please choose other options." --list --checklist --column "Select" --column "Platform" False build_wxconsole False nobuild_gconsole False build_x86_64 False build_python` RESULT="$?" -if [ "$RESULT" == "1" ]; +if [ "$RESULT" = "1" ]; then exit; fi @@ -94,7 +94,7 @@ COMMAND="${COMMAND} ${SELECTED_FILE}" zenity --question --text "Ready to rebuild the src rpm with $COMMAND. Do you wish to continue?" RESULT="$?" -if [ "$RESULT" == "1" ]; +if [ "$RESULT" = "1" ]; then exit; fi