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}