summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-10-01 15:07:37 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-10-01 15:07:37 -0700
commita2dbf6b45e69c97f2d698592669f553113fb2390 (patch)
tree0f78286aae6094307bca620946c51667b8c083f6 /tools
parentce5b807ce78b215e86c736820d064e04ed94ac5b (diff)
downloadclientdata-a2dbf6b45e69c97f2d698592669f553113fb2390.tar.gz
clientdata-a2dbf6b45e69c97f2d698592669f553113fb2390.tar.bz2
clientdata-a2dbf6b45e69c97f2d698592669f553113fb2390.tar.xz
clientdata-a2dbf6b45e69c97f2d698592669f553113fb2390.zip
Fix permissions on generated updates
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make-updates2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/make-updates b/tools/make-updates
index d4d29ce6..aef0aafa 100755
--- a/tools/make-updates
+++ b/tools/make-updates
@@ -37,6 +37,7 @@ function add_resource()
pushd $output >/dev/null
adler32 $1 | tee -a resources2.txt | {
read name hash
+ chmod a+r $name
sed '/<\/updates>/i <update type="data" file="'$name'" hash="'$hash'" />' -i resources.xml
}
popd >/dev/null
@@ -47,6 +48,7 @@ function add_music()
{
adler32 $1 | {
read name hash
+ chmod a+r $name
sed '/<\/updates>/i <update type="music" required="no" file="'$name'" hash="'$hash'" />' -i resources.xml
}
}