Commit 38e8e545 authored by root's avatar root

allow lbu package send to stdout by using filename '-'

parent e937f31b
V=1.7
V=1.7.1
P=alpine-conf
PV=$(P)-$(V)
APKF=$(PV).apk
......
......@@ -273,7 +273,13 @@ cmd_package() {
# actually commit unless dryrun mode
if [ $rc -eq 0 ]; then
[ -z "$DRYRUN" ] && cp "$tmppkg" "$pkg"
if [ -z "$DRYRUN" ]; then
if [ "x$pkg" = "x-" ]; then
cat "$tmppkg"
else
cp "$tmppkg" "$pkg"
fi
fi
vecho "Created $pkg"
else
rm -f "$CURRENT_TDB"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment