From a947c72fa45084362607d46b7c6328a71012a908 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Mon, 25 May 2009 22:25:36 -0700 Subject: [PATCH] Improve smoke_some_mathgsl to make base_dir configurable --- bin/smoke_some_mathgsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/smoke_some_mathgsl b/bin/smoke_some_mathgsl index 46d7dfe..f3a2f69 100755 --- a/bin/smoke_some_mathgsl +++ b/bin/smoke_some_mathgsl @@ -3,13 +3,13 @@ use strict; use warnings; use lib 'lib'; -my $make = 'make'; +my $make = 'make'; my $branch = shift || 'master'; -my $base_dir = "/home/smoke/git/Math-GSL-$branch"; +my $base_dir = shift || "$ENV{HOME}/git/Math-GSL-$branch"; chdir $base_dir or die "$base_dir: $!"; -my $smolder = qq{ export PERL5LIB=`pwd`/lib && /home/smoke/bin/smolder_mathgsl }; +my $smolder = qq{ export PERL5LIB=`pwd`/lib && $base_dir/bin/smolder_mathgsl }; system "cd $base_dir && git pull origin $branch "; system "perl Build.PL && ./Build && $smolder && ./Build clean"; -- 2.11.4.GIT