diff options
author | Wookey <wookey@wookware.org> | 2013-09-18 05:12:02 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2013-09-18 05:12:02 +0100 |
commit | 8810031621c7603e9bbd8636e92cdc77d8f0eee2 (patch) | |
tree | ac299d5927e69d643741673bbd49cbf67c0ada32 | |
parent | a3d46bda79b0df8978c3388b904fba8a5b157c02 (diff) |
Do the chmod before the binary upload, not the source upload
-rwxr-xr-x | scripts/package_kernel | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/package_kernel b/scripts/package_kernel index 2ac745c..975da09 100755 --- a/scripts/package_kernel +++ b/scripts/package_kernel @@ -660,9 +660,6 @@ test "$do_publish_source_pkg" == "true" && { echo "skip publish_source_pkg, key not provided" else cd out - #set files to 0644 to avoid racy behaviour of dput trying to chmod files after upload - #by which time they may already have been processed. - chmod 0644 *.deb *.changes dput $HOST_PPA *source.changes cd .. fi @@ -679,6 +676,9 @@ test "$do_publish_binary_pkg" == "true" && { echo "skip publish_source_pkg, key not provided" else cd out + #set files to 0644 to avoid racy behaviour of dput trying to chmod files after upload + #by which time they may already have been processed. + chmod 0644 *.deb *.changes dput $HOST_PPA *$DEBARCH.changes cd .. fi |