summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xslic3r9
1 files changed, 8 insertions, 1 deletions
diff --git a/slic3r b/slic3r
index f3e1753..a8ddc3d 100755
--- a/slic3r
+++ b/slic3r
@@ -1,7 +1,14 @@
#!/bin/bash
+merged="$HOME/.Slic3r/config.ini.merged"
+
+truncate -s 0 "$merged"
+
for config in "$HOME"/.Slic3r/*/config.ini; do
- opts+=(--load "$config")
+ #opts+=(--load "$config")
+ cat "$config" >> "$merged"
done
+opts+=(--load "$merged")
+
perl "$HOME"/git/Slic3r/slic3r.pl "${opts[@]}" "$@"