diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-09-13 00:08:33 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2014-09-13 00:08:33 +0200 |
commit | 5b5b338503b82cde42fb8cdd7791abb61b939111 (patch) | |
tree | 94b6aa445cc86976346b101d08277ac488cf36d3 /slic3r | |
parent | 8450e9ac59dfb678ae3fc2adca5bb837804710f3 (diff) | |
download | bin-5b5b338503b82cde42fb8cdd7791abb61b939111.tar.gz bin-5b5b338503b82cde42fb8cdd7791abb61b939111.tar.xz |
misc changes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'slic3r')
-rwxr-xr-x | slic3r | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -5,10 +5,11 @@ gitdir="$HOME/git/Slic3r" #merged="$HOME/.Slic3r/config.ini.merged" #truncate -s 0 "$merged" -TMPDIR="`mktemp -d "/tmp/slic3r.XXXXXX"`" -locallib="$TMPDIR/local-lib-dir" +TMPDIR="$(mktemp -d "/tmp/${0##*/}.XXXXXX")" trap "rm -rf '${TMPDIR}'" EXIT TERM +locallib="$TMPDIR/local-lib-dir" + # I don't want to install the libs mkdir -p "$locallib" ln -sr "$gitdir/xs/blib/lib/Slic3r/" "$locallib/Slic3r" |