aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-18 22:43:36 -0500
committerDave Reisner <d@falconindy.com>2010-01-18 22:43:36 -0500
commita6e9c3ad20fb8ff3b41b484d549bb8259dc33dfe (patch)
treea3023196a7b9e10ebec07150e979972c096c3774
parentd34040f0ce9d1d6446a9bb752f8589a0ffd673d4 (diff)
downloadsquashfu-a6e9c3ad20fb8ff3b41b484d549bb8259dc33dfe.tar.gz
Specify -i with sed to actually edit the bin file in remove_bin
-rwxr-xr-xsquashfu2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfu b/squashfu
index bdcce4c..16724f8 100755
--- a/squashfu
+++ b/squashfu
@@ -294,7 +294,7 @@ action_remove_bin () {
fi
info "Deleting bin $1"
- sed -n "/^$1:[0-9]*/d" "${BINVENTORY}"
+ sed -i -n "/^$1:[0-9]*/d" "${BINVENTORY}"
rm -rf ${BINS_DIR}/$1
# tidy up!