Skip to contentSkip to conversation

PATCH: fix cg-mkpatch "-f" option

PATCH Klaus Weidner 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

cg-mkpatch renamed from cg-mkpatch.orig +1 -1
@@ -119,7 +119,7 @@
 		mergebase=1
 	elif optparse -d=; then
 		outdir="$OPTARG"
-	elif optparse -f; then
+	elif optparse -f=; then
 		fileformat="$OPTARG"
 	else
 		optfail