Portable syntax of test condition in install commands.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 11 May 2011 13:44:35 +0000 (13:44 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 11 May 2011 13:44:35 +0000 (13:44 +0000)
org.glite.lb.doc/Makefile

index 490d011..ca80cb1 100644 (file)
@@ -72,7 +72,7 @@ install:
        ${INSTALL} -m 644 LBTG.pdf ${DESTDIR}${PREFIX}${prefix}/share/doc/${package}-${version}
 # install DG example sources
        for p in ${top_srcdir}/examples/*; do \
-               if [ "$$p" == "${top_srcdir}/examples/CVS" ]; then continue; fi; \
+               if [ "$$p" = "${top_srcdir}/examples/CVS" ]; then continue; fi; \
                ${INSTALL} -m 644 "$$p" "${DESTDIR}${PREFIX}${prefix}/share/doc/${package}-${version}/examples"; \
        done