projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8a3ce5
)
qcc.sh: fix the contents of the dependencies file.
author
Rudolf Polzer <divVerent@xonotic.org>
Tue, 18 Apr 2017 18:37:47 +0000
(14:37 -0400)
committer
Rudolf Polzer <divVerent@xonotic.org>
Tue, 18 Apr 2017 18:37:59 +0000
(14:37 -0400)
qcsrc/tools/qcc.sh
patch
|
blob
|
history
diff --git
a/qcsrc/tools/qcc.sh
b/qcsrc/tools/qcc.sh
index 38c5c86340a28e6087e31960578dc0c6a1e11740..15cbfc4aab5a222f8a06da9091884057c5f84fe3 100755
(executable)
--- a/
qcsrc/tools/qcc.sh
+++ b/
qcsrc/tools/qcc.sh
@@
-47,12
+47,13
@@
$(return >/dev/null 2>&1) || {
IN=$3
case "${OUT}" in
/*)
+ OUT_ABSOLUTE=${OUT}
;;
*)
- OUT=${PWD}/${OUT}
+ OUT
_ABSOLUTE
=${PWD}/${OUT}
;;
esac
set -x
qpp "${IN}" "${OUT}" -I. ${QCCIDENT} ${QCCDEFS} > "${WORKDIR}/${MODE}.qc"
- qcc ${QCCFLAGS} -o "${OUT}" "../${WORKDIR}/${MODE}.qc"
+ qcc ${QCCFLAGS} -o "${OUT
_ABSOLUTE
}" "../${WORKDIR}/${MODE}.qc"
}