Author: Konstantin Dmitriev <[email protected]>
Date: Sun Dec 30 22:20:47 2012 +0700
Linux package build script: Always reset cached copy if invoked from the
existing repository.
---
autobuild/synfigstudio-linux-build.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/autobuild/synfigstudio-linux-build.sh
b/autobuild/synfigstudio-linux-build.sh
index e9e8581..43965a5 100755
--- a/autobuild/synfigstudio-linux-build.sh
+++ b/autobuild/synfigstudio-linux-build.sh
@@ -988,6 +988,11 @@ mkpackage()
fi
#fetch sources to cache
[ -d $PACKAGES_BUILDROOT.$ARCH/source ] && rm -rf
$PACKAGES_BUILDROOT.$ARCH/source || true
+ if [ -d $PACKAGES_BUILDROOT/synfig.git ]; then
+ if [[ $WORKDIR_IS_REPO == 1 ]]; then
+ rm -rf "$PACKAGES_BUILDROOT/synfig.git"
+ fi
+ fi
if ! [ -d $PACKAGES_BUILDROOT/synfig.git ]; then
if [[ $WORKDIR_IS_REPO == 1 ]]; then
git clone $SYNFIG_REPO_DIR
$PACKAGES_BUILDROOT/synfig.git
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl