From 0aeb9386c29ca4aa9cb3be058c7b15042df21daf Mon Sep 17 00:00:00 2001 From: Jeff Bilyk Date: Mon, 1 Aug 2011 21:42:05 -0400 Subject: lbu: fix sed command fix #615 --- lbu.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbu.in') diff --git a/lbu.in b/lbu.in index 84997ff..a84e569 100644 --- a/lbu.in +++ b/lbu.in @@ -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 -- cgit v1.2.3