aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsign-sync-binpackages.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sign-sync-binpackages.sh b/sign-sync-binpackages.sh
index ed85e11..b437ccb 100755
--- a/sign-sync-binpackages.sh
+++ b/sign-sync-binpackages.sh
@@ -92,8 +92,8 @@ for t in ${STAGINGTREE}/*/*/* ; do
fi
# sign the packages
- [[ ${VERBOSE} == '1' ]] && xargs -n1 -- gpkg-sign "{}" < ${STAGINGTREE}/.unsigned || exit 113
- [[ ${VERBOSE} == '1' ]] || xargs -n1 -- gpkg-sign "{}" < ${STAGINGTREE}/.unsigned > /dev/null || exit 113
+ [[ ${VERBOSE} == '1' ]] && xargs -n1 --no-run-if-empty -- gpkg-sign "{}" < ${STAGINGTREE}/.unsigned || exit 113
+ [[ ${VERBOSE} == '1' ]] || xargs -n1 --no-run-if-empty -- gpkg-sign "{}" < ${STAGINGTREE}/.unsigned > /dev/null || exit 113
# regenerate the indices
[[ ${VERBOSE} == '1' ]] && PKGDIR=${t} emaint -f binhost || exit 114