diff options
Diffstat (limited to 'Master/tlpkg/bin/svnchangelog')
-rwxr-xr-x | Master/tlpkg/bin/svnchangelog | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/svnchangelog b/Master/tlpkg/bin/svnchangelog index 3620d34b9b5..d7660b7e120 100755 --- a/Master/tlpkg/bin/svnchangelog +++ b/Master/tlpkg/bin/svnchangelog @@ -12,7 +12,7 @@ chicken=${OVERRIDE_CHICKEN-false} # to get started, ran svn log and put the first thousand changes in log. # we are in Master/tlpkg/bin -mydir=`dirname $0` # Build/tools +mydir=`dirname $0` # Master/tlpkg/bin outdir=`cd $mydir/../../../Build/logs && pwd` outfile=$outdir/svnlog test ! -f $outfile && exit 2 # error probably given by the cd @@ -32,7 +32,7 @@ if test -z "$nextneeded"; then fi # get the log info since then. -tlroot=`cd $mydir/../.. && pwd` +tlroot=`cd $mydir/../../.. && pwd` newlogs=$outdir/newlogdata svn log -v -r HEAD:$nextneeded $tlroot >$newlogs || exit 1 # with HEAD:next we get the entries newest first, as we want them. @@ -81,7 +81,6 @@ if $debug; then # really debug done fi - if ! $chicken; then mv $outfile.new $outfile echo "svn commit..." @@ -89,7 +88,7 @@ if ! $chicken; then fi $mydir/svnchangelog.sed $newlogs # show it to me -#rm -f $newlogs $outfile.new +$debug || rm -f $newlogs $outfile.new # keep them in case of problems exit 0 |