Author: sparky                       Date: Sun Jan 30 02:31:46 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- avoid bashism: use echo "something" | command instead of command <<< something
- don't use %{name} macro, it is expanded separatelly for each subpackage

---- Files affected:
packages/root:
   root-includelist (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/root/root-includelist
diff -u packages/root/root-includelist:1.3 packages/root/root-includelist:1.4
--- packages/root/root-includelist:1.3  Thu Dec 16 14:18:29 2010
+++ packages/root/root-includelist      Sun Jan 30 03:31:40 2011
@@ -1,12 +1,12 @@
 include $(MODULE)/Module.mk
 includelist:
-       @list=includelist-`tr / - <<< $(MODULE)` ; \
+       @list=includelist-`echo "$(MODULE)" | tr / -` ; \
        rm -f $$list ; \
        for h in $(filter-out %.cw %.pri, $(ALLHDRS)) ; do \
            if [ "$(MODULE)" = "cint/cint7" ] ; then \
-               sed 's!^include!%{_includedir}/%{name}/cint7!' <<< $$h >> 
$$list ; \
+               echo "$$h" | sed 's!^include!%{_includedir}/root/cint7!' >> 
$$list ; \
            else \
-               sed 's!^include!%{_includedir}/%{name}!' <<< $$h >> $$list ; \
+               echo "$$h" | sed 's!^include!%{_includedir}/root!' >> $$list ; \
            fi ; \
            sort -u $$list > $$list.unique ; \
            mv $$list.unique $$list ; \
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/root/root-includelist?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to