[PC-BSD Commits] r1539 - pbibuild/modules/e-sword
svn at pcbsd.org
svn at pcbsd.org
Tue Mar 4 11:12:51 PST 2008
Author: kris
Date: 2008-03-04 11:12:51 -0800 (Tue, 04 Mar 2008)
New Revision: 1539
Modified:
pbibuild/modules/e-sword/build.sh
Log:
Cleanup build.sh a bit for e-Sword
Modified: pbibuild/modules/e-sword/build.sh
===================================================================
--- pbibuild/modules/e-sword/build.sh 2008-03-04 19:11:01 UTC (rev 1538)
+++ pbibuild/modules/e-sword/build.sh 2008-03-04 19:12:51 UTC (rev 1539)
@@ -10,7 +10,8 @@
##############################################################################
-# Save the right version number in the removepbi.sh script
-sed -e "s,CHANGE,e-Sword${PORTVER},g" ${PBIDIR}/bin/e-sword > /tmp/e-sword
-mv /tmp/e-sword ${PBIDIR}/bin/e-sword
-chmod 755 ${PBIDIR}/bin/e-sword
+# Change the MODFILE to a new name / version
+MODFILE="${PBIDIR}/bin/e-sword"
+sed -e "s,CHANGE,e-Sword${PORTVER},g" ${MODFILE} > ${MODFILE}.tmp
+mv ${MODFILE}.tmp ${MODFILE}
+chmod 755 ${MODFILE}
More information about the Commits
mailing list