[Commits] r2419 - core/trunk/geoext/build
commits at geoext.org
commits at geoext.org
Mon Sep 27 21:54:25 CEST 2010
Author: ahocevar
Date: 2010-09-27 21:54:25 +0200 (Mon, 27 Sep 2010)
New Revision: 2419
Modified:
core/trunk/geoext/build/Makefile
Log:
made Makefile work on BSD systems
Modified: core/trunk/geoext/build/Makefile
===================================================================
--- core/trunk/geoext/build/Makefile 2010-09-27 19:05:54 UTC (rev 2418)
+++ core/trunk/geoext/build/Makefile 2010-09-27 19:54:25 UTC (rev 2419)
@@ -38,9 +38,10 @@
examples:
mkdir -p $(LIB_NAME)/examples
rsync -au --exclude=.svn `pwd`/../examples `pwd`/$(LIB_NAME)
- for file in `find $(LIB_NAME)/examples/ -name "*.html"`; do \
- sed -i "s/\.\.\/lib\/GeoExt\.js/\.\.\/script\/GeoExt\.js/g" $${file} ; \
- sed -i "s/geoext-all-debug\.css/geoext-all\.css/g" $${file} ; \
+ for file in `find $(LIB_NAME)/examples -name "*.html"`; do \
+ sed -i.bak "s/\.\.\/lib\/GeoExt\.js/\.\.\/script\/GeoExt\.js/g" $${file} ; \
+ sed -i.bak "s/geoext-all-debug\.css/geoext-all\.css/g" $${file} ; \
+ rm $${file}.bak ; \
done ;
lib:
More information about the Commits
mailing list