diff options
author | Karl Berry <karl@freefriends.org> | 2008-12-01 01:45:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-12-01 01:45:57 +0000 |
commit | 81e79cc05b383d38bcf3c7627cfee9079a94f155 (patch) | |
tree | 69352bef7120f00ad755158721725de718866a1e /Master/tlpkg/bin/tl-update-tlnet | |
parent | f33d3e3a849c1da12b3681ea9459703b201befbf (diff) |
new utility fns xchdir and xsystem; use them in update-install-pkg; new option to avoid test install in update-tlnet
git-svn-id: svn://tug.org/texlive/trunk@11486 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlnet')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-tlnet | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlnet b/Master/tlpkg/bin/tl-update-tlnet index 1d974550297..1327209c257 100755 --- a/Master/tlpkg/bin/tl-update-tlnet +++ b/Master/tlpkg/bin/tl-update-tlnet @@ -12,17 +12,19 @@ unset LS_COLORS chicken=false critical= recreate= +testinstall=true yyyy=2008 while test $# -gt 0; do case $1 in - --critical) critical=--all;; - --dry-run|-n) chicken=true;; - --master) shift; Master=$1;; - --recreate) recreate=--recreate;; - --testlocation) shift; tltrybase=$1;; - --help) echo "xxtodo. Sorry."; exit 0;; - --version) echo "$vc_id"; exit 0;; + --critical) critical=--all;; + --dry-run|-n) chicken=true;; + --master) shift; Master=$1;; + --no-testinstall|-N) testinstall=false;; + --recreate) recreate=--recreate;; + --testlocation) shift; tltrybase=$1;; + --help) echo "xxtodo. Sorry."; exit 0;; + --version) echo "$vc_id"; exit 0;; --*) echo "$0: unrecognized option \`$1'." >&2 exit 1;; *) tlweb=$1;; @@ -71,6 +73,8 @@ echo "$0: Running tl-update-install-pkg..." $Master/tlpkg/bin/tl-update-install-pkg -o $tltry END_COW +# if not doing the test installation, never push anything out. +$testinstall || exit 0 # # Now we have an updated tlweb in $tltry where only the changed files |