From: Daniel Baumann Date: Tue, 13 Nov 2007 08:00:29 +0000 (+0100) Subject: Fixed a few bashisms, thanks to Trent W. Buck . X-Git-Tag: debian/2.0.15-1~633 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=798715de7e444ceaae86e8cd4c7416a05b626392 Fixed a few bashisms, thanks to Trent W. Buck . --- diff --git a/bin/live-snapshot b/bin/live-snapshot index a6b4154..3d0183d 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -83,7 +83,7 @@ Usage () if [ ! -z "${MESSAGE}" ] then - echo -e "${MESSAGE}" + /bin/echo -e "${MESSAGE}" exit 1 else exit 0 @@ -99,9 +99,9 @@ Help () echo " -c, --cow: specifies the copy on write directory (default: /live/cow)." echo " -d, --device: specifies the output snapshot device (default: none)." echo " -o, --output: specifies the output image file (default: ${type} dependent)." - echo " -r, --resync-string: internally used to resync previous made snapshots." + echo " -r, --resync-string: internally used to resync previous made snapshots." echo " -t, --type: specifies the snapshot type between \"squashfs\", \"ext2\", \"ext3\" or \"cpio\".gz archive (default: cpio)" - echo -e "\nLook at live-snapshot(1) man page for more information." + /bin/echo -e "\nLook at live-snapshot(1) man page for more information." exit 0 }