diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2010-01-01 22:50:40 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2010-01-01 22:50:40 +0000 |
commit | 0493892a1e866c4357556737a3b805a458a7bbdf (patch) | |
tree | 430db57318cb582b441ce2a68f25dd4a3bc3490f /t | |
parent | a79ebc0315296dfe78e87230d17b6ecd6574e1c3 (diff) | |
download | spec-helper-0493892a1e866c4357556737a3b805a458a7bbdf.tar spec-helper-0493892a1e866c4357556737a3b805a458a7bbdf.tar.gz spec-helper-0493892a1e866c4357556737a3b805a458a7bbdf.tar.bz2 spec-helper-0493892a1e866c4357556737a3b805a458a7bbdf.tar.xz spec-helper-0493892a1e866c4357556737a3b805a458a7bbdf.zip |
fix path to executables
Diffstat (limited to 't')
-rwxr-xr-x | t/run.t | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -6,11 +6,9 @@ use warnings; use IPC::Run qw/run/; use Test::More tests => 54; -use FindBin; +use FindBin qw/$Bin/; use File::Temp qw/tempdir/; -my $path = "$FindBin::Bin/"; - my ($out, $err); delete $ENV{RPM_BUILD_ROOT}; @@ -50,6 +48,6 @@ foreach my $prog qw/ sub run_prog { my ($prog, @args) = @_; - run (["$FindBin::Bin/$prog", @args], \my($in, $out, $err)); + run (["$Bin/../$prog", @args], \my($in, $out, $err)); return ($out, $err); } |