From: Don Armstrong Date: Mon, 22 Jun 2015 18:15:37 +0000 (-0700) Subject: change sign_and_upload_debian_r to upload all unsigned builds, no mater when they... X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=61018eaa2bf8693f7062c9d01c8d5b70ebcad121;p=bin.git change sign_and_upload_debian_r to upload all unsigned builds, no mater when they were built --- diff --git a/sign_and_upload_debian_r b/sign_and_upload_debian_r index 48aa70d..5663eb0 100755 --- a/sign_and_upload_debian_r +++ b/sign_and_upload_debian_r @@ -14,7 +14,7 @@ else fi; -ssh $C2DEBMACHINE "find '$BUILD_RESULTS' -type f -iname '*.changes'" | \ - xargs debsign -r $C2DEBMACHINE -k$KEYID; +ssh $C2DEBMACHINE "find . -type f -iname '*.changes' -print0|perl -n0e '$b = $_; $b =~ s/.changes/.upload/; -e $b || print $_.qq(\0);'" | \ + xargs -0 debsign -r $C2DEBMACHINE -k$KEYID -ssh $C2DEBMACHINE "(find '$BUILD_RESULTS' -type f -iname '*.changes'|xargs dupload --to debianr )" +ssh $C2DEBMACHINE "find . -type f -iname '*.changes' -print0|perl -n0e '$b = $_; $b =~ s/.changes/.upload/; -e $b || print $_.qq(\0);' | xargs -0 dupload --to debianr )"