diff options
Diffstat (limited to 'slic3r')
-rwxr-xr-x | slic3r | 24 |
1 files changed, 1 insertions, 23 deletions
@@ -2,26 +2,4 @@ gitdir="$HOME/git/Slic3r" -exec perl -Mlocal::lib="$gitdir/local-lib" "$gitdir/slic3r.pl" "$@" - -#merged="$HOME/.Slic3r/config.ini.merged" -#truncate -s 0 "$merged" - -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" -ln -sr "$gitdir/xs/blib/arch/auto/" "$locallib/auto" - -#for config in "$HOME"/.Slic3r/*/config.ini; do - #opts+=(--load "$config") - #cat "$config" >> "$merged" -#done - -#opts+=(--load "$merged") - -perl -I"$locallib" "$gitdir/slic3r.pl" "${opts[@]}" "$@" +exec "$gitdir/build/src/slic3r-gui" "$@" |