diff options
author | andrew | 2016-01-23 16:59:37 -0800 |
---|---|---|
committer | andrew | 2016-01-23 17:00:47 -0800 |
commit | af182664ff90096cebcafed0f12b949736f35586 (patch) | |
tree | 7621a8df11d6ff4a9ead10e6f8e3c3c2f36cb956 /brother_lpdwrapper_HLL2380DW.diff | |
parent | 6fac1b8cbfcde0e77a702054e315285386612417 (diff) | |
download | aur-af182664ff90096cebcafed0f12b949736f35586.tar.gz |
Release 2: Fixed printing paths
Diffstat (limited to 'brother_lpdwrapper_HLL2380DW.diff')
-rw-r--r-- | brother_lpdwrapper_HLL2380DW.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/brother_lpdwrapper_HLL2380DW.diff b/brother_lpdwrapper_HLL2380DW.diff new file mode 100644 index 000000000000..9cbdbb229f73 --- /dev/null +++ b/brother_lpdwrapper_HLL2380DW.diff @@ -0,0 +1,19 @@ +--- brother_lpdwrapper_HLL2380DW 2016-01-22 20:47:41.000000000 -0800 ++++ brother_lpdwrapper_HLL2380DW_new 2016-01-22 21:35:06.270764564 -0800 +@@ -43,15 +43,7 @@ + $width=-1; + $height=-1; + +-#my $basedir = Cwd::realpath ($0); +-my $basedir = `readlink $0`; +-if ( $basedir eq '' ){ +- $basedir = `realpath $0`; +-} +-chomp($basedir); +- +-$basedir =~ s/$PRINTER\/cupswrapper\/.*$/$PRINTER\//g; +- ++my $basedir = "/opt/brother/Printers/HLL2380DW"; + + %units = ( pt => \&pt2dot, + mm => \&mm2dot, |