fixed bug in configure that caused last argument passed not being honoured

parent f14eb3b9
......@@ -21,7 +21,7 @@ done
rm -f "${PWD}"/.configure/results
xcount=0
while [[ ${xcount} -lt $# ]]; do
while [[ ${xcount} -le $# ]]; do
case ${1} in
--prefix=* ) PREFIX="${1/*=}" ;;
--pcdir=* ) PCDIR="${1/*=}" ;;
......@@ -32,7 +32,8 @@ while [[ ${xcount} -lt $# ]]; do
--datadir=* ) DATADIR="${1/*=}" ;;
--python=* ) PYTHON="${1/*=}" ;;
--help ) MODE=help ;;
--no-postinstall ) DISABLE_POSTINSTALL=1
--no-postinstall ) echo "HERE111!!!1"
DISABLE_POSTINSTALL=1
echo "DISABLE_POSTINSTALL=1" >> \
"${PWD}"/.configure/results ;;
esac
......
#!/usr/bin/make -f
export DH_VERBOSE = 1
export DISABLE_POSTINSTALL = 1
%:
dh $@ --no-cat --with python3
override_dh_auto_configure:
dh_auto_configure
dh_auto_configure --no-postinstall
override_dh_auto_build:
./make build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment