summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/librerelease
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools/librerelease')
-rwxr-xr-xsrc/abslibre-tools/librerelease2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index df47d85..acb4a8d 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -309,7 +309,7 @@ release_packages() {
fi
# notify pbot of the excellent work we have done
- local packages=$(grep -E '\.pkg\.tar\.[^\.]+$' ${file_list} | sed 's|.*/\([^/ ]*\)/[^\ ]*$|\1|' | xargs)
+ local packages=$(grep -zE '\.pkg\.tar\.[^\.]+$' ${file_list} | sed -z 's|.*/\([^/ ]*\)-[^-]*$|\1|' | sort -zu | xargs -0)
local login=${REPODEST_userinfo:-somebody} ; login=${login%%:*} ;
local pbot_say_cmd="which pbot-say && pbot-say ${login} just published: ${packages}"
ssh ${REPODEST_port:+-p "$REPODEST_port"} "${REPODEST_userhost}" "${pbot_say_cmd}"