From d28c374de97d29cf9e4e1f6531e0dea3099549c4 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 4 May 2014 10:37:32 +0200 Subject: [PATCH] prevent ml releases without version and use custom freecode submit (archlinux is outdated) Signed-off-by: Nico Schottelius --- bin/build-helper | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/build-helper b/bin/build-helper index ec98c68f..0d61c7d6 100755 --- a/bin/build-helper +++ b/bin/build-helper @@ -104,6 +104,11 @@ eof ;; ml-release) + if [ $# -ne 1 ]; then + echo "$0 ml-release version" >&2 + exit 1 + fi + version=$1; shift to_a=cdist @@ -149,7 +154,7 @@ eof read changelog echo "Submitting to freecode ..." - python2 $(which freecode-submit) -P cdist \ + python2 ~/p/foreign/freecode-submit-2.7/freecode-submit -P cdist \ -v "$version" -c "$changelog" \ -t "$taglist" ;;