From 699a2247a6560c2af0327ad62d41b8a91702ab0c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 18 Apr 2017 14:37:47 -0400 Subject: [PATCH] qcc.sh: fix the contents of the dependencies file. --- qcsrc/tools/qcc.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qcsrc/tools/qcc.sh b/qcsrc/tools/qcc.sh index 38c5c8634..15cbfc4aa 100755 --- 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" } -- 2.39.2