summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-11-23 15:21:38 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-11-23 15:21:38 +0000
commit90d2ae23ad540bdb450886e12deea603e76db2bc (patch)
tree021ab87df0dc4671c0a432e5b4c2489a79915497 /tools
parentd08564ec3b6c429f62e3261e06244992fdd9c7a9 (diff)
enable resample-session and synthesize-session to operate from anywhere without the user setting PERL5LIB etc etc.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4237 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rwxr-xr-xtools/resample_session.pl2
-rwxr-xr-xtools/synthesize_sources.pl2
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/resample_session.pl b/tools/resample_session.pl
index c6a390f480..eadc536985 100755
--- a/tools/resample_session.pl
+++ b/tools/resample_session.pl
@@ -9,6 +9,8 @@
# The peakfiles and dead_sounds aren't copied. Only "identified" files are copied, instant.xml's
# or .bak's aren't copied either.
+use FindBin '$Bin';
+use lib "$Bin";
use XML::Parser::PerlSAX;
use XML::Handler::XMLWriter;
use IO::Handle;
diff --git a/tools/synthesize_sources.pl b/tools/synthesize_sources.pl
index 3123d0cb1f..54fb8eb60d 100755
--- a/tools/synthesize_sources.pl
+++ b/tools/synthesize_sources.pl
@@ -7,6 +7,8 @@
# for each missing source file. The length of each file is determined
# by how far regions using that source file go into the sample data.
+use FindBin '$Bin';
+use lib "$Bin";
use XML::Parser::PerlSAX;
use XML::Handler::XMLWriter;
use IO::Handle;