diff options
| author | Dave Reisner <d@falconindy.com> | 2010-01-18 22:43:36 -0500 |
|---|---|---|
| committer | Dave Reisner <d@falconindy.com> | 2010-01-18 22:43:36 -0500 |
| commit | a6e9c3ad20fb8ff3b41b484d549bb8259dc33dfe (patch) | |
| tree | a3023196a7b9e10ebec07150e979972c096c3774 | |
| parent | d34040f0ce9d1d6446a9bb752f8589a0ffd673d4 (diff) | |
| download | squashfu-a6e9c3ad20fb8ff3b41b484d549bb8259dc33dfe.tar.gz | |
Specify -i with sed to actually edit the bin file in remove_bin
| -rwxr-xr-x | squashfu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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! |
