summaryrefslogtreecommitdiffstats
path: root/slic3r
blob: a8ddc3dd340724186f215bdc3978281bdd6074a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

merged="$HOME/.Slic3r/config.ini.merged"

truncate -s 0 "$merged"

for config in "$HOME"/.Slic3r/*/config.ini; do
	#opts+=(--load "$config")
	cat "$config" >> "$merged"
done

opts+=(--load "$merged")

perl "$HOME"/git/Slic3r/slic3r.pl "${opts[@]}" "$@"