mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-12 01:18:35 +08:00
15 lines
246 B
Bash
Executable File
15 lines
246 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# src/tools/make_diff/difforig
|
|
|
|
if [ "$#" -eq 0 ]
|
|
then APATH="."
|
|
else APATH="$1"
|
|
fi
|
|
find $APATH -name '*.orig' -print | sort | while read FILE
|
|
do
|
|
NEW="`dirname $FILE`/`basename $FILE .orig`"
|
|
echo "$NEW" 1>&2
|
|
diff -c $FILE $NEW
|
|
done
|