aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWookey <wookey@wookware.org>2013-09-18 05:12:02 +0100
committerWookey <wookey@wookware.org>2013-09-18 05:12:02 +0100
commit8810031621c7603e9bbd8636e92cdc77d8f0eee2 (patch)
treeac299d5927e69d643741673bbd49cbf67c0ada32
parenta3d46bda79b0df8978c3388b904fba8a5b157c02 (diff)
Do the chmod before the binary upload, not the source upload
-rwxr-xr-xscripts/package_kernel6
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