Patch #1959 2007-04-13 09:55
julienlecomte
Patch for Patch #1951 [crossplatform script "update"]- Download
- 1959-Patch_for_Patc.patch (1.2 KB)
diff U3 C:/WINDOWS/TEMP/Lecomte/update-revBASE.svn001.tmp M:/devroot/codeblocks/src/update
--- C:/WINDOWS/TEMP/Lecomte/update-revBASE.svn001.tmp Fri Apr 13 11:53:00 2007
+++ M:/devroot/codeblocks/src/update Fri Apr 13 11:52:05 2007
@@ -3,9 +3,11 @@
if [ "x$MSYSTEM" != "x" ] ; then
EXEEXT=".exe"
LIBEXT="dll"
+ TEMPLATEDIR="win32"
else
EXEEXT=""
LIBEXT="so"
+ TEMPLATEDIR="unix"
fi
echo Creating output directory tree
@@ -70,9 +72,9 @@
cp -rf plugins/scriptedwizard/resources/* ${RESDIR}/templates/wizard > /dev/null
cp -rf plugins/scriptedwizard/resources/* output/share/codeblocks/templates/wizard > /dev/null
cp -f templates/common/* output/share/codeblocks/templates > /dev/null
-cp -f templates/unix/* output/share/codeblocks/templates > /dev/null
+cp -f templates/${TEMPLATEDIR}/* output/share/codeblocks/templates > /dev/null
cp -f templates/common/* ${RESDIR}/templates > /dev/null
-cp -f templates/unix/* ${RESDIR}/templates > /dev/null
+cp -f templates/${TEMPLATEDIR}/* ${RESDIR}/templates > /dev/null
cp -f scripts/*.script ${RESDIR}/scripts > /dev/null
cp -f scripts/*.script output/share/codeblocks/scripts > /dev/null
cp -f tips.txt devel/share/codeblocks > /dev/null
History
julienlecomte 2007-04-27 10:21
This patch is to resolve the problem of wrong templates being copied by the 'update' script.
mandrav 2007-05-04 07:51
The templates this patch takes care for are scheduled to be completely removed (they 're the old-style templates and not used by C::B for quite some time now).
So I think I will not apply this patch. Thanks anyway.