[sword-svn] r3475 - trunk/scripts

scribe at crosswire.org scribe at crosswire.org
Mon May 22 06:42:12 MST 2017


Author: scribe
Date: 2017-05-22 06:42:11 -0700 (Mon, 22 May 2017)
New Revision: 3475

Modified:
   trunk/scripts/mkswordtar
Log:
update mkswordtar script to work on modern distros

Modified: trunk/scripts/mkswordtar
===================================================================
--- trunk/scripts/mkswordtar	2017-05-22 13:33:12 UTC (rev 3474)
+++ trunk/scripts/mkswordtar	2017-05-22 13:42:11 UTC (rev 3475)
@@ -3,6 +3,11 @@
 echo 
 echo "*** Autogening main sword engine build system"
 echo 
+
+# quick test to see if we're at the base and cd to scripts folder
+cd scripts 2> /dev/null
+
+# rest of script assumes we're in the scripts folder
 (cd ..;./autogen.sh)
 
 REV=`cd ..;basename \`pwd ..\`|cut -d\- -f2`
@@ -22,7 +27,7 @@
 	echo 
 	echo "*** Tarring up" sword-$REV.tar.gz
 	echo 
-	cd ..; tar -v -c -p -s -z --exclude sword-$REV/bin --exclude sword-$REV/autom4te.cache --exclude sword-$REV/bindings/swig/package/autom4te.cache -X sword-$REV/distignore -f sword-$REV.tar.gz sword-$REV/*
+	cd ..; tar -v -c -p -z --exclude sword-$REV/bin --exclude sword-$REV/autom4te.cache --exclude sword-$REV/bindings/swig/package/autom4te.cache -X sword-$REV/distignore -f sword-$REV.tar.gz sword-$REV/*
 
 else
 	echo $"Directory version is $REV, but configure.ac has $SWORDVER"




More information about the sword-cvs mailing list