svnno****@sourc*****
svnno****@sourc*****
2008年 12月 2日 (火) 17:27:02 JST
Revision: 858 http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=858 Author: tach Date: 2008-12-02 17:27:01 +0900 (Tue, 02 Dec 2008) Log Message: ----------- fix to get full images Modified Paths: -------------- test/images/Makefile -------------- next part -------------- Modified: test/images/Makefile =================================================================== --- test/images/Makefile 2008-12-01 12:13:55 UTC (rev 857) +++ test/images/Makefile 2008-12-02 08:27:01 UTC (rev 858) @@ -14,7 +14,7 @@ images: images-stamp images-stamp: $(patsubst %,css/%.css.orig, $(csses)) $(patsubst %,css/slashdot_%.css.orig, $(sections)) - perl -ne "print \"http:\$$1\n\" if /url\(['\"]?(\/\/images\.slashdot\.org\/[^)'\"]+)/;" $(patsubst %,css/%.css.orig, $(csses)) $(patsubst %,css/slashdot_%.css.orig, $(sections)) | \ + perl -ne "s|(url\(['\"]?/)([^/])|\$$1/images.slashdot.org/\$$2|g; print \"http:\$$1\n\" if /url\(['\"]?(\/\/images\.slashdot\.org\/[^)'\"]+)/;" $(patsubst %,css/%.css.orig, $(csses)) $(patsubst %,css/slashdot_%.css.orig, $(sections)) | \ sed -e 's/\.pnh$$/.png/' | \ sort -u | \ wget --no-proxy --no-host-directories --mirror --no-verbose -i -