Make sure we have physical path back from mktemp

Darwin actually symlinks /var inside /private, but mktemp reports back
the logical pathat time of file creation.  So make sure we always get
the full physical path to be absolutely certain when doing comparisons
later, because thats how the Ruby status_shortcuts.rb script is going to
obtain them.
This commit is contained in:
Matthew Rothenberg
2014-10-16 16:10:52 -04:00
parent b2d86a16b2
commit 1cd162434f
2 changed files with 9 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ oneTimeSetUp() {
export ga_auto_remove="yes"
testRepo=$(mktemp -d -t scm_breeze.XXXXXXXXXX)
testRepo=`cd $testRepo && pwd -P`
}
oneTimeTearDown() {