diff options
author | Karl Berry <karl@freefriends.org> | 2012-09-09 23:05:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-09-09 23:05:05 +0000 |
commit | 992bc15bc3753800b76cdd67a338f47d45c2d99a (patch) | |
tree | 1702136ecf788bdb5b9fb89ff43abffd923f2a4f | |
parent | 2d8c3a7478e7eea400cfc1e7e515da73432fcb34 (diff) |
don't check context.sh, not ready
git-svn-id: svn://tug.org/texlive/trunk@27633 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/tlpkg/bin/tl-update-linked-scripts | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Master/tlpkg/bin/tl-update-linked-scripts b/Master/tlpkg/bin/tl-update-linked-scripts index 5ef63786983..dc86c23a89a 100755 --- a/Master/tlpkg/bin/tl-update-linked-scripts +++ b/Master/tlpkg/bin/tl-update-linked-scripts @@ -9,24 +9,27 @@ mydir=`cd \`dirname $0\` && pwd` Master=`cd $mydir/../.. && pwd` Dest=`cd $Master/../Build/source/texk/texlive/linked_scripts && pwd` -test -r $Dest/scripts.lst || { - echo "$0: \`$Dest/scripts.lst' missing'" - exit 1 -} - -. $Dest/scripts.lst - compare_and_copy () { Src=$Master/$1/scripts shift - for file in $@; do + for file in "$@"; do #echo "comparing $Src/$file to $Dest..." + echo "$file" | grep '/context.sh$' >/dev/null && continue # context in flux + cmp -s $Src/$file $Dest/$file && continue + echo "updating $Src/$file -> $Dest/$file" diff -u0 $Src/$file $Dest/$file cp $Src/$file $Dest/$file || exit 1 done } +test -r $Dest/scripts.lst || { + echo "$0: \`$Dest/scripts.lst' missing'" + exit 1 +} + +. $Dest/scripts.lst + compare_and_copy texmf $texmf_scripts compare_and_copy texmf-dist $texmf_dist_scripts |