]> xenbits.xensource.com Git - people/andrewcoop/hwloc.git/commitdiff
test-hwloc-diffpatch: exit the temp directory before removing it
authorBrice Goglin <Brice.Goglin@inria.fr>
Thu, 7 Nov 2013 08:32:05 +0000 (09:32 +0100)
committerBrice Goglin <Brice.Goglin@inria.fr>
Thu, 7 Nov 2013 08:32:08 +0000 (09:32 +0100)
Otherwise rmdir fails on AIX

utils/test-hwloc-diffpatch.sh.in

index 81df16ad794d320943b1e8fda7db15124193523d..83f1af6d290997643069d0ec720715fbdfbbbf00 100644 (file)
@@ -47,4 +47,6 @@ $patch -R $HWLOC_top_srcdir/utils/test-hwloc-diffpatch.input2 $diffoutput $outpu
 
 diff -u $HWLOC_top_srcdir/utils/test-hwloc-diffpatch.input1 "$output2"
 diff -u $HWLOC_top_srcdir/utils/test-hwloc-diffpatch.input2 "$output1"
+
+cd ..
 rm -rf "$tmp"