From 47ec43ae6c61a23add12dc99b463650f1658ffc6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 10 Jun 2021 07:19:31 +0200 Subject: Updating. Signed-off-by: Daniel Baumann --- bin/pbuild.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bin/pbuild.sh') diff --git a/bin/pbuild.sh b/bin/pbuild.sh index 4a3559c..9835141 100755 --- a/bin/pbuild.sh +++ b/bin/pbuild.sh @@ -247,9 +247,9 @@ do # upload case "${UPLOAD}" in true) - FILES="$(sed -e '1,/^Files:$/ d' ${TARGET}_${SOURCE_VERSION}*.dsc | grep -v '^\ \ ' | grep '^\ ' | awk '/^ / { print $3 }')" + FILES="$(sed -e '1,/^Files:$/ d' ${TARGET}_${SOURCE_VERSION}.dsc | grep -v '^\ \ ' | grep '^\ ' | awk '/^ / { print $3 }')" - for FILE in ${FILES} + for FILE in ${FILES} ${TARGET}_${SOURCE_VERSION}.dsc do rsync -aP "${FILE}" apt.progress-linux.org::upload rm -f "${FILE}" @@ -311,16 +311,16 @@ do cd "${SOURCE}" # disable tests - for TARGET in dh_auto_test dh_auto_test-arch dh_auto_test-indep \ + for RULE in dh_auto_test dh_auto_test-arch dh_auto_test-indep \ override_dh_auto_test override_dh_auto_test-arch override_dh_auto_test-indep \ execute_before_dh_auto_test execute_before_dh_auto_test-arch execute_before_dh_auto_test-indep \ execute_after_dh_auto_test execute_after_dh_auto_test-arch execute_after_dh_auto_test-indep do - if grep -qs "^${TARGET}:" debian/rules + if grep -qs "^${RULE}:" debian/rules then - sed -i -e "s|^${TARGET}:|disabled_${TARGET}:|" debian/rules + sed -i -e "s|^${RULE}:|disabled_${RULE}:|" debian/rules else - echo "${TARGET}:" >> debian/rules + echo "${RULE}:" >> debian/rules fi done @@ -360,7 +360,7 @@ do true) FILES="$(sed -e '1,/^Files:$/ d' ${TARGET}_${SOURCE_VERSION}_*.changes | grep -v '^\ \ ' | grep '^\ ' | awk '/^ / { print $5 }')" - for FILE in ${FILES} + for FILE in ${FILES} ${TARGET}_${SOURCE_VERSION}_*.changes do rsync -aP "${FILE}" apt.progress-linux.org::upload rm -f "${FILE}" -- cgit v1.2.3