chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Installation fixes
[ypp-sc-tools.web-live.git]
/
yarrg
/
commod-email-processor
diff --git
a/yarrg/commod-email-processor
b/yarrg/commod-email-processor
index d2f0e819f6ef8c0f41626424fe13beb624d4f088..bf42c0d65ef4b8344f29963de36080b35f664535 100755
(executable)
--- a/
yarrg/commod-email-processor
+++ b/
yarrg/commod-email-processor
@@
-49,6
+49,12
@@
use strict (qw(vars));
use POSIX;
use MIME::Parser;
+BEGIN {
+ my $selfdir= $0;
+ $selfdir =~ s,/+[^/]*$,,;
+ chdir("$selfdir") or die "$selfdir $!";
+}
+
use Commods;
use CommodsDatabase;