summaryrefslogtreecommitdiff
path: root/pkg/linux
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-09-09 18:29:22 +0200
committerKali Kaneko <kali@leap.se>2013-09-09 18:29:22 +0200
commitd838e31b03ca23fafa4d2d32cbf52cd6d4e88287 (patch)
tree661c3d37f7842227676586805b2b254174f528ac /pkg/linux
parenta7d8cbb050b10b6f45913e04800d6209c90dd4a4 (diff)
parent3d7ceef972571dc898448e572dd70bf77cd91b8e (diff)
Merge remote-tracking branch 'ivan-github/bug/3617_remove-exec-bit-update-docs' into develop
Diffstat (limited to 'pkg/linux')
-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