tkurbad-overlay/media-gfx/slic3r/files/slic3r-9999-adjust_var_path.patch

13 lines
477 B
Diff
Raw Normal View History

2017-05-19 09:53:18 +02:00
diff -ur slic3r-9999.orig/lib/Slic3r.pm slic3r-9999/lib/Slic3r.pm
--- slic3r-9999.orig/lib/Slic3r.pm 2017-05-08 09:38:37.478019637 +0200
+++ slic3r-9999/lib/Slic3r.pm 2017-05-08 09:41:32.370470244 +0200
2017-04-04 23:31:00 +02:00
@@ -42,7 +42,7 @@
use FindBin;
# Path to the images.
2017-05-19 09:53:18 +02:00
-my $varpath = decode_path($FindBin::Bin) . "/var";
+my $varpath = decode_path($FindBin::RealBin) . "/var";
if ($^O eq 'darwin' && !-d $varpath) {
$varpath = decode_path($FindBin::Bin) . "/../Resources/var";
}