summaryrefslogtreecommitdiff
path: root/configure.sh
blob: db4dc27431399eac54d9ffb41f9efa2e94bd16ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

tmpfile=.qmake.cache.$$
trap "rm -f $tmpfile" EXIT

cat > $tmpfile << EOF
TOP_OUTDIR = \$\$quote(`pwd`)
TOP_SRCDIR = \$\$quote(`dirname "$0"`)
EOF

cmp -s $tmpfile .qmake.cache || mv $tmpfile .qmake.cache