Revision: 834
http://python-ogre.svn.sourceforge.net/python-ogre/?rev=834&view=rev
Author: mithro
Date: 2009-01-12 07:49:50 +0000 (Mon, 12 Jan 2009)
Log Message:
-----------
Make this potentially dangerous script a little safer.
Modified Paths:
--------------
trunk/python-ogre/scripts/build-maketar.sh
Modified: trunk/python-ogre/scripts/build-maketar.sh
===================================================================
--- trunk/python-ogre/scripts/build-maketar.sh 2009-01-12 07:37:43 UTC (rev 833)
+++ trunk/python-ogre/scripts/build-maketar.sh 2009-01-12 07:49:50 UTC (rev 834)
@@ -1,5 +1,10 @@
#! /bin/sh
+if [ ! -e python-ogre-pristine ]; then
+ echo "I need a clean checkout of python-ogre in python-ogre-pristine"
+ exit 1
+fi
+
rm -rvf python-ogre
cd python-ogre-pristine
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|