Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
alpine-conf
Commits
0aeb9386
Commit
0aeb9386
authored
Aug 01, 2011
by
Jeff Bilyk
Browse files
lbu: fix sed command
fix #615
parent
4c9cba97
Changes
1
Hide whitespace changes
Inline
Side-by-side
lbu.in
View file @
0aeb9386
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment