We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4e2352 commit 0bef48dCopy full SHA for 0bef48d
1 file changed
bin/mkpatch
@@ -109,6 +109,7 @@ if [ $# -lt 2 ]; then die "Expected patch name and file list on the command line
109
if [[ $1 =~ / ]]; then die "Expected a patch name, but the first argument to $program seems to be a file path: '$1'"; fi
110
111
name=$1; shift;
112
+if [ "$CHG" ]; then name="$name-c$CHG"; fi
113
114
patchfile=$progdir/../../patches/$(date +%Y-%m-%d)-$name.patch
115
if [ -e $patchfile ]; then die "Patchfile $patchfile already exists"; fi
0 commit comments