aboutsummaryrefslogtreecommitdiffstats
path: root/squashfu
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-17 20:03:56 -0500
committerDave Reisner <d@falconindy.com>2010-01-17 20:03:56 -0500
commite3ff4b6496c961719de813fbe24dd39e62b15cc5 (patch)
tree821c7c942b841e203c13e3d25616d6b45ff54f91 /squashfu
parent1b2a164a21b7a31ff9625388b392eb0c2780b227 (diff)
downloadsquashfu-e3ff4b6496c961719de813fbe24dd39e62b15cc5.tar.gz
Append to IFS, don't replace it
Diffstat (limited to 'squashfu')
-rwxr-xr-xsquashfu2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfu b/squashfu
index 7aac148..9e25cc8 100755
--- a/squashfu
+++ b/squashfu
@@ -316,7 +316,7 @@ action_report () {
info "SquashFu Usage Report"
echo
# Enumerate bins, sort date order, print human readable create date and size
- OLDIFS=$IFS;IFS='$:'
+ OLDIFS=$IFS;IFS=${IFS}:
printf "%10s\t%25s\t%7s\n" "Bin ID" "Date Created" "Size"
grep -vE "^[\t ]*$" "$BINVENTORY" | sort -r -t: -k2 -n | while read bin stamp; do
printf "%10d\t%25s\t%7s\n" $bin \