PATCH: fix cg-mkpatch "-f" option
- From
- Klaus Weidner <kweidner@pobox.com>
- Date
- Oct 14, 2005, 14:23 UTC
- Message-ID
- <20051014142345.GB30663@w-m-p.com>
Hello,
in cogito-0.15.1, the "-f" option to specify a format string for output filenames didn't work, it was getting an empty OPTARG. The following patch fixes it for me.
-Klaus
--- cogito/cg-mkpatch.orig 2005-10-14 09:16:04.000000000 -0500 +++ cogito/cg-mkpatch 2005-10-14 09:16:33.000000000 -0500
@@ -119,7 +119,7 @@ mergebase=1 elif optparse -d=; then outdir="$OPTARG" - elif optparse -f; then + elif optparse -f=; then fileformat="$OPTARG" else optfail