summaryrefslogtreecommitdiff
path: root/pkg/linux/build_bundle.sh
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-09-09 11:23:02 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-09-09 12:33:56 -0300
commit3d7ceef972571dc898448e572dd70bf77cd91b8e (patch)
tree45da90324d7a3ffec72e22589ebe3e194702d9b1 /pkg/linux/build_bundle.sh
parentb90f6525b13657b6ed845c56d1b8f6a101ce8e33 (diff)
Update release doc, remove exec bits. Closes #3617
Diffstat (limited to 'pkg/linux/build_bundle.sh')
-rwxr-xr-xpkg/linux/build_bundle.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/linux/build_bundle.sh b/pkg/linux/build_bundle.sh
index e6a1043f..879579f0 100755
--- a/pkg/linux/build_bundle.sh
+++ b/pkg/linux/build_bundle.sh
@@ -77,13 +77,13 @@ cp $JOINT_CHANGELOG $TEMPLATE_BUNDLE/CHANGELOG
cp $REPOS_ROOT/leap_client/LICENSE $TEMPLATE_BUNDLE/LICENSE
-# clean pyc$
-
+# clean *.pyc files
cd $TEMPLATE_BUNDLE
-for i in $(find . | grep pyc$);
- do
- rm $i
- done
+find . -name "*.pyc" -delete
+
+# remove execution flags (because vbox fs) and set all read permissions
+chmod -x CHANGELOG LICENSE README
+chmod +r CHANGELOG LICENSE README
# create tarball