$0 may not be in $PATH

pull/244/head
David Goodwin 6 years ago
parent 93a127d7f2
commit 2cf73f704a

@ -74,7 +74,7 @@ function forcepatch() {
for i in `seq 1 5` ; do for i in `seq 1 5` ; do
for file in $filelist ; do for file in $filelist ; do
test "$file" = "en.lang" && { echo "*** skipping en.lang ***"; continue ; } >&2 test "$file" = "en.lang" && { echo "*** skipping en.lang ***"; continue ; } >&2
"$0" "$file" | sed -n '1,3 p ; 5 s/^./-/p ; 5s/^./+/p ; 6p' | recountdiff | patch "$file" /bin/bash "$0" "$file" | sed -n '1,3 p ; 5 s/^./-/p ; 5s/^./+/p ; 6p' | recountdiff | patch "$file"
done done
done done
} # end forcepatch } # end forcepatch

Loading…
Cancel
Save