enable resample-session and synthesize-session to operate from anywhere without the...
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 23 Nov 2008 15:21:38 +0000 (15:21 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 23 Nov 2008 15:21:38 +0000 (15:21 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4237 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/resample_session.pl
tools/synthesize_sources.pl

index c6a390f480c27d86f93a4f693f05d2f2cf989f08..eadc5369857f9130e16f122916dc11ec7d8d475a 100755 (executable)
@@ -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;
index 3123d0cb1f2d2b479570707dc2e55c640495b72d..54fb8eb60d3902b39d4dc31247e16250cfcc41ce 100755 (executable)
@@ -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;