core: use "auto" as the default clock-master source
[vlc.git] / contrib / diffpatch.sh
blob5c14ff4b84f76febd9ad8c75cddfb7ea73fb53a6
1 #!/bin/sh
2 # create a patch file based on file extension
3 # $1 folder to run the find in
4 # $2 extension to use for the diff
5 find $1 -name "*$2" -exec bash -c 'filepath="$1" ; dir=$(dirname "$filepath") ; base=$(basename -s $2 "$filepath") ; diff -pur $filepath $dir/$base' -- {} $2 \;