[Slashdotjp-dev 1467] [998] fix to create correct js files

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 12日 (木) 14:37:58 JST


Revision: 998
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=998
Author:   tach
Date:     2009-02-12 14:37:58 +0900 (Thu, 12 Feb 2009)

Log Message:
-----------
fix to create correct js files

Modified Paths:
--------------
    images/trunk/Makefile


-------------- next part --------------
Modified: images/trunk/Makefile
===================================================================
--- images/trunk/Makefile	2009-02-12 04:36:06 UTC (rev 997)
+++ images/trunk/Makefile	2009-02-12 05:37:58 UTC (rev 998)
@@ -49,7 +49,7 @@
 all-minified.js: %: %.orig %.jp %.prefix
 $(jses): %: %.js
 $(patsubst %, %.js, $(jses)): %: %.orig
-	if [ -f $@.prefix ]; then cat $@.prefix > $@; fi
+	if [ -f $@.prefix ]; then cat $@.prefix > $@; else echo -n > $@; fi
 	cat $@.orig | \
 		sed -e 's/if(name=="usermode"){/if(name=="firehose_usermode"){/' | \
 		sed -e 's/ Firehose / アレたま /' | \



Slashdotjp-dev メーリングリストの案内
Back to archive index