Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:N
dump
dump-0.4b43-fix-bashisms.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dump-0.4b43-fix-bashisms.patch of Package dump
diff -Ndur dump-0.4b43/examples/dump_on_cd_3/dump_disk dump-0.4b43-fix-bashisms/examples/dump_on_cd_3/dump_disk --- dump-0.4b43/examples/dump_on_cd_3/dump_disk 2005-01-13 14:13:56.000000000 +0200 +++ dump-0.4b43-fix-bashisms/examples/dump_on_cd_3/dump_disk 2014-11-17 00:22:03.323002531 +0200 @@ -55,14 +55,14 @@ 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 diff -Ndur dump-0.4b43/examples/remote_backup_ssh/backitup dump-0.4b43-fix-bashisms/examples/remote_backup_ssh/backitup --- dump-0.4b43/examples/remote_backup_ssh/backitup 2001-11-11 01:56:07.000000000 +0200 +++ dump-0.4b43-fix-bashisms/examples/remote_backup_ssh/backitup 2014-11-17 00:22:30.163000715 +0200 @@ -41,7 +41,7 @@ # backup FILESYSTEMS to the TAPEDEV on TAPEHOST with DUMP as OPERATOR using RSH export RMT RSH -mkdir -p $LOGDIR &> /dev/null +mkdir -p $LOGDIR > /dev/null 2>&1 ssh-add ~/.ssh/id_dsa echo "Rewinding tape..."
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor