소스 검색

update cowpatch from upstream to fix regression on bash

upstream commit 1db812b0ca94d07ede9891883484f2a76dae8e23
Rich Felker 5 년 전
부모
커밋
aacd84ed2c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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