|
|
@ -3,7 +3,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: scripts/Create-Diff |
|
|
|
# Copyright (C) 2006 The OpenSDE Project |
|
|
|
# Copyright (C) 2006 - 2007 The OpenSDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# |
|
|
@ -24,7 +24,7 @@ fi |
|
|
|
if [ "$#" -lt 2 ] ; then |
|
|
|
echo ; echo " Usage: $0 [ -editor <editor> ] <old-dir> <new-dir> [ {file|directory} ]" |
|
|
|
echo |
|
|
|
echo " Creates a unified diff over two T2 source trees. You can" |
|
|
|
echo " Creates a unified diff over two OpenSDE source trees. You can" |
|
|
|
echo " send this diff to the mailing list if you want your changes" |
|
|
|
echo " to be included." |
|
|
|
echo |
|
|
@ -43,7 +43,7 @@ fi |
|
|
|
|
|
|
|
eval "`grep -A 10 '\[BEGIN\]' $olddir/lib/parse-config | grep -B 10 '\[END\]'`" |
|
|
|
|
|
|
|
[ "$editor" = "" ] && echo "[ Generated by ./scripts/Create-Diff for T2 $sdever ]" > /tmp/$$ |
|
|
|
[ "$editor" = "" ] && echo "[ Generated by ./scripts/Create-Diff for OpenSDE $sdever ]" > /tmp/$$ |
|
|
|
|
|
|
|
for x in $directories ; do |
|
|
|
x=${x#./}; x=${x%/} |
|
|
|