Michal Bielicki 8cc4b29d20 replacing libedit
leaving libedit.old in just in case for a day ...


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7501 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:56:23 +00:00

18 lines
332 B
Bash

#!/bin/bash
## make new patches after e.g. distributed ../src has been changed
rm *.patch
i=0
for file in $(find export -type f)
do
diff -q $file ../${file#export/} > /dev/null
res="$?"
if test 1 -eq "$res"
then
diff -au $file ../${file#export/} > $(printf '%02d' $i)-${file##*/}.patch
((i++))
fi
done