From aed578d0792114fa1628e07f48c90d29151a27c0 Mon Sep 17 00:00:00 2001 From: Dakota Benjamin Date: Wed, 10 Jun 2015 14:26:50 -0400 Subject: [PATCH] fixed issue with pathnames not being stricken from the tar --- run.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run.pl b/run.pl index 0306ee6f..9ea8fe0e 100755 --- a/run.pl +++ b/run.pl @@ -843,8 +843,7 @@ switch ($args{"--start-with"}) { if($args{"--zip-results"} eq "true") { print "\nCompressing results - "; now(); print "\n"; print "\n"; - - run("tar -czf $jobOptions{jobDir}-results.tar.gz $jobOptions{jobDir}-results/*"); + run("cd $jobOptions{jobDir}-results/ && tar -czf $jobOptions{jobDir}-results.tar.gz *"); } print "\n";