summaryrefslogtreecommitdiff
path: root/abuild-sign.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-14 08:41:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-14 08:41:55 +0000
commit64baa7c5052f1dbbd156932552d1166b5c1d40ae (patch)
treea038f6ade3946f98513573821c0354af0068d519 /abuild-sign.in
parent9f3b137410ee1359aca551c3cbfc3bd8ff9e81d2 (diff)
downloadabuild-64baa7c5052f1dbbd156932552d1166b5c1d40ae.tar.gz
abuild-64baa7c5052f1dbbd156932552d1166b5c1d40ae.tar.bz2
abuild-64baa7c5052f1dbbd156932552d1166b5c1d40ae.tar.xz
abuild-64baa7c5052f1dbbd156932552d1166b5c1d40ae.zip
abuild-sign: set permissions on signed index to 644
mktemp set it to 600 so we need to manually set it to 644
Diffstat (limited to 'abuild-sign.in')
-rw-r--r--abuild-sign.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/abuild-sign.in b/abuild-sign.in
index 2aa525e..86b3b15 100644
--- a/abuild-sign.in
+++ b/abuild-sign.in
@@ -80,6 +80,7 @@ for f in "$@"; do
cat "$tmptargz" "$i" > "$tmpsigned"
rm -f "$tmptargz"
mv "$tmpsigned" "$i"
+ chmod 644 "$i"
if [ -z "$quiet" ]; then
echo "Signed $i"
fi