[SCM] live-tools branch, debian, updated. debian/3.0_a7-1-13-g0b1db06
Daniel Baumann
daniel at debian.org
Fri Apr 6 11:48:23 UTC 2012
The following commit has been merged in the debian branch:
commit 6d4b7f61e424bcc4f6880ed9e00437924adb9457
Author: Daniel Baumann <daniel at debian.org>
Date: Fri Apr 6 13:38:23 2012 +0200
Using common spacing for /dev/null redirection consistently in live-toram.
diff --git a/scripts/live-toram b/scripts/live-toram
index 5cbfbe1..f6995ad 100755
--- a/scripts/live-toram
+++ b/scripts/live-toram
@@ -91,7 +91,7 @@ echo "I: This may take a while..."
# FIXME: doesn't work with multiple filesystems
for _FILESYSTEM in ${_FILESYSTEMS}
do
- if [ ! -x "$(which rsync 2>/dev/null)" ]
+ if [ ! -x "$(which rsync 2> /dev/null)" ]
then
rsync -a --progress ${_FILESYSTEM} /tmp/live
else
@@ -121,8 +121,8 @@ fi
if [ "$(expr substr ${_DEVICE} 1 2)" != "sd" ] && \
! readlink /sys/block/$(expr substr ${_DEVICE} 6 3) | grep -q usb
then
- if [ ! -x "$(which eject 2>/dev/null)" ]
+ if [ ! -x "$(which eject 2> /dev/null)" ]
then
- eject -p -m ${_DEVICE} >/dev/null 2>&1
+ eject -p -m ${_DEVICE} > /dev/null 2>&1
fi
fi
--
live-tools
More information about the debian-live-changes
mailing list