]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Update install target
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Tue, 26 Nov 2019 22:19:40 +0000 (23:19 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Tue, 26 Nov 2019 22:19:40 +0000 (23:19 +0100)
Makefile

index 410cc8522889bc46aa177f9a92fd4a6633d485c7..c71769a1d51bbbcaba4c40b893bc0dfd40280191 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,7 @@ clean:
 install: ${PRG}
        $(info installing ${GWION_PACKAGE} in ${PREFIX})
        @install ${PRG} ${DESTDIR}/${PREFIX}/bin
-       @sed "s/PREFIX/${PREFIX}/g" scripts/gwion-config > gwion-config
+       @sed 's/PREFIX/$\{PREFIX\}/g' scripts/gwion-config > gwion-config
        @install gwion-config ${DESTDIR}/${PREFIX}/bin/gwion-config
        @install scripts/gwion-pkg ${DESTDIR}/${PREFIX}/bin/gwion-pkg
        @rm gwion-config