Browse Source

update cowpatch from upstream to fix regression on bash

upstream commit 1db812b0ca94d07ede9891883484f2a76dae8e23
Rich Felker 5 năm trước cách đây
mục cha
commit
aacd84ed2c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      cowpatch.sh

+ 1 - 0
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