summaryrefslogtreecommitdiff
path: root/Build/tools/MakeImages.sh
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-25 16:11:06 +0000
committerKarl Berry <karl@freefriends.org>2006-12-25 16:11:06 +0000
commite0b67fbfd747a1a3d38a9d614bdd9360b5886165 (patch)
treef38880333f7337bb11106be70576f2169628d132 /Build/tools/MakeImages.sh
parentc69264157bb3668829745abc43fab8233fd7a1bb (diff)
make non-versioned symlinks for bz2, too.
git-svn-id: svn://tug.org/texlive/trunk@2904 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/tools/MakeImages.sh')
-rwxr-xr-xBuild/tools/MakeImages.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/Build/tools/MakeImages.sh b/Build/tools/MakeImages.sh
index 6fbb63cc7bb..d12ce98096b 100755
--- a/Build/tools/MakeImages.sh
+++ b/Build/tools/MakeImages.sh
@@ -112,11 +112,13 @@ echo "--- `date` Writing complete live image to $live_iso."
rm -f install-tl.sh install-pkg.sh
)
-# make symlink with short name, that we use in /etc/fstab.
-rm -f $target/$NAME-live.iso $target/$NAME-live.iso.md5
-ln -s `basename $live_iso` $target/$NAME-live.iso
-ln -s `basename $live_iso`.md5 $target/$NAME-live.iso.md5
-ls -l $live_iso
+# make symlink with short name (used in /etc/fstab).
+for ext in "" .bz2; do
+ rm -f $target/$NAME-live.iso$ext $target/$NAME-live.iso$ext.md5
+ ln -s `basename $live_iso$ext` $target/$NAME-live.iso$ext
+ ln -s `basename $live_iso`$ext.md5 $target/$NAME-live.iso$ext.md5
+ ls -l $live_iso$ext
+done
}