summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-09-06 12:02:37 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-09-06 12:02:37 -0300
commit8429d35de46942dc86be2644df84d785f3b4c48f (patch)
tree73b1328c4617c82ca7442abf65184d87d2e4975e
parent9c13850bbf871808d265380d9e549c4ed8278c7b (diff)
Hotfix: recursive rm and fetch before checkout.
-rwxr-xr-xpkg/linux/build_bundle.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/linux/build_bundle.sh b/pkg/linux/build_bundle.sh
index 781884cb..e6a1043f 100755
--- a/pkg/linux/build_bundle.sh
+++ b/pkg/linux/build_bundle.sh
@@ -9,13 +9,14 @@ DEST=$5
rm $TEMPLATE_BUNDLE/CHANGELOG
rm $TEMPLATE_BUNDLE/relnotes.txt
rm -rf $TEMPLATE_BUNDLE/apps/leap
-rm $TEMPLATE_BUNDLE/lib/leap/{common,keymanager,soledad,mail}
+rm -rf $TEMPLATE_BUNDLE/lib/leap/{common,keymanager,soledad,mail}
# checkout VERSION in all repos
for i in {leap_client,leap_pycommon,soledad,keymanager,leap_mail}
do
cd $REPOS_ROOT/$i
+ git fetch
git checkout $VERSION
done