Skip to content

Commit

Permalink
qwt5: fixed escaped prefix for configure
Browse files Browse the repository at this point in the history
  • Loading branch information
estatz committed May 1, 2016
1 parent d93816a commit a38e3a5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions qwt5.lwr
Expand Up @@ -18,9 +18,11 @@
#

category: baseline
configure: "cp qwtconfig.pri qwtconfig.pri.orig && \\\nsed 's/\\/usr\\/local\\/qwt-5.2.0/$reprefix/'\
\ qwtconfig.pri > qwtconfig.pri.tmp && \\\ncp qwtconfig.pri.tmp qwtconfig.pri &&\
\ \\\nqmake \n"
configure: "cp qwtconfig.pri qwtconfig.pri.orig &&
reprefix=$(python -c 'import os; import re; print re.escape(os.environ[\"PYBOMBS_PREFIX\"])') &&
sed 's/\\/usr\\/local\\/qwt-5.2.0/'\"${reprefix}\"'/' qwtconfig.pri > qwtconfig.pri.tmp &&
cp qwtconfig.pri.tmp qwtconfig.pri &&
qmake "
depends:
- qt4
inherit: autoconf
Expand Down

0 comments on commit a38e3a5

Please sign in to comment.