diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2011-08-01 21:42:05 -0400 |
---|---|---|
committer | Jeff Bilyk <jbilyk@gmail.com> | 2011-08-01 21:42:05 -0400 |
commit | 0aeb9386c29ca4aa9cb3be058c7b15042df21daf (patch) | |
tree | 720e8cc5c9f8070c0b91615bd0752e2ef6a1502b /lbu.in | |
parent | 4c9cba97d41e67c34f0b7511459c3b6a166c61dc (diff) | |
download | alpine-conf-0aeb9386c29ca4aa9cb3be058c7b15042df21daf.zip |
lbu: fix sed command
fix #615
Diffstat (limited to 'lbu.in')
-rw-r--r-- | lbu.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -293,8 +293,8 @@ cmd_package() { rm -f etc/lbu/packages.list fi # create tar archive - [ -f "$EXCLUDE_LIST" ] && sed '/^$/d' "$EXCLUDE_LIST" && excl="-X $EXCLUDE_LIST" - [ -f "$INCLUDE_LIST" ] && sed '/^$/d' "$INCLUDE_LIST" && incl="-T $INCLUDE_LIST" + [ -f "$EXCLUDE_LIST" ] && sed -i '/^$/d' "$EXCLUDE_LIST" && excl="-X $EXCLUDE_LIST" + [ -f "$INCLUDE_LIST" ] && sed -i '/^$/d' "$INCLUDE_LIST" && incl="-T $INCLUDE_LIST" if [ -n "$VERBOSE" ]; then echo "Archiving the following files:" >&2 # we dont want to mess the tar output with the |