fix bashisms in example script
[debian/dump] / examples / dump_on_cd_3 / dump_disk
index 3e9200da803da7c5896d4d73153a6d289c303112..37041b2780412b148914f5f43ef1c722a73f1480 100755 (executable)
@@ -55,14 +55,14 @@ write_output() {
        while [ "$ANSWER" != "y" ] ; do
                echo -n "Is the disk ready? (y/n) "
                read  </dev/tty ANSWER
-               if [ "$ANSWER" == "y" ] ; then
+               if [ "$ANSWER" = "y" ] ; then
                        (${RECORD_BIN}${1}) &
                        return 0
-               elif [ "$ANSWER" == "n" ] ; then
+               elif [ "$ANSWER" = "n" ] ; then
                        EXIT=""
                        echo -n "Do you really want to exit? (y/n) "
                        read </dev/tty EXIT
-                       if [ "$EXIT" == "y" ] ; then
+                       if [ "$EXIT" = "y" ] ; then
                                return 1
                        fi
                fi