# HG changeset patch # User Aleksej Bobylev # Date 1454012853 -7200 # Node ID f56bb28aea979a03ff6d78c71009c54f4bcbe63c # Parent 91b74be21e598ffdc7878b7f785e7fabd28e6d89 get-texlive: fix creating package texlive diff -r 91b74be21e59 -r f56bb28aea97 get-texlive/stuff/get-texlive --- a/get-texlive/stuff/get-texlive Thu Jan 28 17:55:47 2016 +0200 +++ b/get-texlive/stuff/get-texlive Thu Jan 28 22:27:33 2016 +0200 @@ -51,7 +51,7 @@ fi tar -xzf $TARBALL -VERSION="$(ls -d $SOURCE*/ | sed 's|/*$||')" +VERSION="$(ls -d $SOURCE*/ | sed 's|/*$||' | tr -cd '0-9')" # extracted pkg can be removed: Save RAM before packing rm -rf $TARBALL @@ -85,6 +85,7 @@ # -location ftp://ftp.inria.fr/pub/TeX/CTAN/systems/texlive/tlnet/2008/ ./install-tl -profile slitaz.profile +cd "$TMP/$SOURCE" # Creat receipt cat > $PACKAGE-$VERSION/receipt <