1 Description: fix bashisms in dump_disk example script
2 Three conditionals in the examples/dump_on_cd_3/dump_disk are fixed to
3 avoid bash-specific syntax.
4 Author: Chris Lamb <chris@chris-lamb.co.uk>
5 Reviewed-by: Bdale Garbee <bdale@gag.com>
6 Bug-Debian: http://bugs.debian.org/489570
8 --- dump-0.4b44.orig/examples/dump_on_cd_3/dump_disk
9 +++ dump-0.4b44/examples/dump_on_cd_3/dump_disk
10 @@ -55,14 +55,14 @@ write_output() {
11 while [ "$ANSWER" != "y" ] ; do
12 echo -n "Is the disk ready? (y/n) "
14 - if [ "$ANSWER" == "y" ] ; then
15 + if [ "$ANSWER" = "y" ] ; then
18 - elif [ "$ANSWER" == "n" ] ; then
19 + elif [ "$ANSWER" = "n" ] ; then
21 echo -n "Do you really want to exit? (y/n) "
23 - if [ "$EXIT" == "y" ] ; then
24 + if [ "$EXIT" = "y" ] ; then