commit 30ec09907b1edabf749d2fd22b79e925748c2370 Author: phantomjinx <p.g.richard...@phantomjinx.co.uk> Date: Sun May 8 20:55:36 2011 +0100
Make generator changelog script more convenient to run generate-ChangeLog.sh | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) --- diff --git a/generate-ChangeLog.sh b/generate-ChangeLog.sh index f5025cb..39a6db9 100755 --- a/generate-ChangeLog.sh +++ b/generate-ChangeLog.sh @@ -1,6 +1,15 @@ #!/bin/bash -top_srcdir=$1 -distdir=$2 + +if [ $# -eq 0 ]; then + top_srcdir="." + distdir="." +elif [ $# -eq 1 ]; then + top_srcdir=$1 + distdir="." +else + top_srcdir=$1 + distdir=$2 +fi if [ -f ${distdir}/ChangeLog ]; then chmod u+w ${distdir}/ChangeLog ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2