summaryrefslogtreecommitdiff
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
commit90c62e0a3a8679d53e42049a308833a539e64aec (patch)
tree269c5afeb58715b17c0e9f5fa84bf38c00c12354
parent7b3fc1dbc951f8e49b06c95c6ed44f943ff4c6b3 (diff)
downloadtools-90c62e0a3a8679d53e42049a308833a539e64aec.tar.gz
tools-90c62e0a3a8679d53e42049a308833a539e64aec.tar.bz2
tools-90c62e0a3a8679d53e42049a308833a539e64aec.tar.xz
tools-90c62e0a3a8679d53e42049a308833a539e64aec.zip
Fix permissions on generated updates
-rwxr-xr-xclient/make-updates2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/make-updates b/client/make-updates
index d4d29ce..aef0aaf 100755
--- a/client/make-updates
+++ b/client/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
}
}