From f2734daf0a9519db6b303683d3ac413a20d56e2a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 24 Sep 2007 08:47:42 +0200 Subject: Replacing backticks with POSIX expression. --- helpers/lh_source_usb-hdd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helpers/lh_source_usb-hdd') diff --git a/helpers/lh_source_usb-hdd b/helpers/lh_source_usb-hdd index ff7839385..dfbf0227b 100755 --- a/helpers/lh_source_usb-hdd +++ b/helpers/lh_source_usb-hdd @@ -71,10 +71,10 @@ then fi # Everything which comes here needs to be cleaned up, -DU_DIM="`du -ms source | cut -f1`" -REAL_DIM="`expr ${DU_DIM} + ${DU_DIM} / 50`" # Just 2% more to be sure, need something more sophistcated here... +DU_DIM="$(du -ms source | cut -f1)" +REAL_DIM="$(expr ${DU_DIM} + ${DU_DIM} / 50)" # Just 2% more to be sure, need something more sophistcated here... dd if=/dev/zero of=source.img bs=1024k count=${REAL_DIM} -FREELO="`${LH_LOSETUP} -f`" +FREELO="$(${LH_LOSETUP} -f)" if [ ! -b chroot/${FREELO} ] then MAKEDEV="true" -- cgit v1.2.3