From aacd84ed2cd76298d248269d1ec1521c7bb4b07e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 24 Feb 2020 21:57:15 -0500 Subject: [PATCH] update cowpatch from upstream to fix regression on bash upstream commit 1db812b0ca94d07ede9891883484f2a76dae8e23 --- cowpatch.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cowpatch.sh b/cowpatch.sh index 861fef9..c79c9d9 100755 --- a/cowpatch.sh +++ b/cowpatch.sh @@ -54,6 +54,7 @@ done cowpatch () { plev=0 +OPTIND=1 while getopts ":p:i:RNE" opt ; do test "$opt" = p && plev="$OPTARG" done