[Fusionforge-commits] r9454 - trunk/plugins/templates

Christian Bayle cbayle at libremir.placard.fr.eu.org
Sun Apr 11 11:43:10 CEST 2010


Author: cbayle
Date: 2010-04-11 11:43:10 +0200 (Sun, 11 Apr 2010)
New Revision: 9454

Modified:
   trunk/plugins/templates/createplugin.sh
Log:
Also subst in dsf-in


Modified: trunk/plugins/templates/createplugin.sh
===================================================================
--- trunk/plugins/templates/createplugin.sh	2010-04-11 09:43:04 UTC (rev 9453)
+++ trunk/plugins/templates/createplugin.sh	2010-04-11 09:43:10 UTC (rev 9454)
@@ -51,24 +51,8 @@
 	if [ $dopackage -ne 0 ]
 	then
 		echo "Doing package"
-		(cd $modelplugdir;find debian)|sort|while read debfile
-		do
-			if [ -d $modelminus/$debfile ]
-			then
-				[ -d $plugdir/$debfile ] || (echo "Making directory $plugdir/$debfile" ; mkdir $plugdir/$debfile)
-			else
-				if [ ! -f $plugdir/$debfile ]
-				then
-					echo "Creating $plugdir/$debfile"
-					cat $modelminus/$debfile | \
-						sed "s/$modelminus/$minus/g" | \
-						sed "s/$modelfullname/$fullname/g" > \
-					$plugdir/$debfile
-				fi
-			fi
-		done
 		chmod +x $plugdir/utils/*
-		(cd $modelplugdir;find packaging)|sort|while read debfile
+		(cd $modelplugdir;find debian;find packaging)|sort|while read debfile
 		do
 			if [ -d $modelminus/$debfile ]
 			then




More information about the Fusionforge-commits mailing list