Browse Source

./s3 svnpatch

pull/57/head
Gorgone 4 years ago
committed by GitHub
parent
commit
5143403b36
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      support/functions/_subversion

4
support/functions/_subversion

@ -139,8 +139,8 @@ svnpatch(){
touch "$workdir/SVN-IS-PATCHED" touch "$workdir/SVN-IS-PATCHED"
for p in "${patchlist[@]}" for p in "${patchlist[@]}"
do do
echo -e $WH"\n\n -> $p <-\n"$W echo -e $WH"\n -> $p <-"$W
sleep 1 sleep .5
patch -d$svndir/ -p0 < "$pdir/$p" |sed -e "s/^patching file/$G patching > $WH/g;s/^Hunk/$P Hunk > $Y/g;s/FAILED/$R FAILED/g; ;s/-- saving/$Y -- saving/g;" patch -d$svndir/ -p0 < "$pdir/$p" |sed -e "s/^patching file/$G patching > $WH/g;s/^Hunk/$P Hunk > $Y/g;s/FAILED/$R FAILED/g; ;s/-- saving/$Y -- saving/g;"
done done
else else

Loading…
Cancel
Save