diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | lbu | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,4 +1,4 @@ -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" |