From a6e9c3ad20fb8ff3b41b484d549bb8259dc33dfe Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 18 Jan 2010 22:43:36 -0500 Subject: Specify -i with sed to actually edit the bin file in remove_bin --- squashfu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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! -- cgit v1.2.3