From d23bb8d670ceb9b84e27eaff08328514e8d5004f Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 9 Feb 2016 10:16:45 +0100 Subject: [PATCH] improve config.h comment :) --- miniupnpd/genconfig.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/miniupnpd/genconfig.sh b/miniupnpd/genconfig.sh index 501bc76..94510d1 100755 --- a/miniupnpd/genconfig.sh +++ b/miniupnpd/genconfig.sh @@ -99,7 +99,11 @@ echo " * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/" >> ${CONFIG echo " * (c) 2006-2016 Thomas Bernard" >> ${CONFIGFILE} echo " * generated by $0 on `date`" >> ${CONFIGFILE} echo " * `uname -a`" >> ${CONFIGFILE} -echo " * using command line options $* */" >> ${CONFIGFILE} +if [ -z "$*" ] ; then + echo " * using no command line option */" >> ${CONFIGFILE} +else + echo " * using command line options $* */" >> ${CONFIGFILE} +fi echo "#ifndef $CONFIGMACRO" >> ${CONFIGFILE} echo "#define $CONFIGMACRO" >> ${CONFIGFILE} echo "" >> ${CONFIGFILE}