vlc | branch: master | Zhao Zhili <[email protected]> | Tue Jul 31 14:56:08 2018 +0800| [a671aae8fc1b707ee2e9a8456abf8dc11afdda75] | committer: Steve Lhomme
contrib: dos2unix of diffpatch.sh > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a671aae8fc1b707ee2e9a8456abf8dc11afdda75 --- contrib/diffpatch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/diffpatch.sh b/contrib/diffpatch.sh index ad311c3214..5c14ff4b84 100644 --- a/contrib/diffpatch.sh +++ b/contrib/diffpatch.sh @@ -1,5 +1,5 @@ -#!/bin/sh -# create a patch file based on file extension -# $1 folder to run the find in -# $2 extension to use for the diff +#!/bin/sh +# create a patch file based on file extension +# $1 folder to run the find in +# $2 extension to use for the diff find $1 -name "*$2" -exec bash -c 'filepath="$1" ; dir=$(dirname "$filepath") ; base=$(basename -s $2 "$filepath") ; diff -pur $filepath $dir/$base' -- {} $2 \; \ No newline at end of file _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
