summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-01-16 10:31:43 -0500
committergumi <git@gumi.ca>2018-01-16 10:31:43 -0500
commitb90911151c327adc3674914350ae5358cb0184bb (patch)
tree57b609e97136b48363146880a7338bd5580cc4ff
parentd5d47a9387da44b36176c09fd49b8699405d2206 (diff)
downloadtools-b90911151c327adc3674914350ae5358cb0184bb.tar.gz
tools-b90911151c327adc3674914350ae5358cb0184bb.tar.bz2
tools-b90911151c327adc3674914350ae5358cb0184bb.tar.xz
tools-b90911151c327adc3674914350ae5358cb0184bb.zip
make-updates: move chmod to its own section
-rwxr-xr-xclient/make-updates15
1 files changed, 10 insertions, 5 deletions
diff --git a/client/make-updates b/client/make-updates
index 72c02d9..0f6ea67 100755
--- a/client/make-updates
+++ b/client/make-updates
@@ -52,11 +52,16 @@ cp xml_header.txt resources.xml
cat xml_footer.txt >>resources.xml
echo ">> Moving stuff around..."
-chmod a+r Legacy.zip
cp -v Legacy.zip $output/
-chmod a+r resources2.txt
cp -v resources2.txt $output/
-chmod a+r resources.xml
cp -v resources.xml $output/
-popd
-popd
+
+echo ">> Giving read permissions..."
+pushd $output
+chmod a+r Legacy.zip
+chmod a+r resources2.txt
+chmod a+r resources.xml
+
+popd # $dir/files
+popd # $cdata
+popd # tools/client