From d38f9c7067b9b41cde8815e24925156ba9e3109c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 18 Jul 2015 05:14:39 +0200 Subject: reproducible freebsd: cleanup properly --- bin/reproducible_freebsd.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh index b8d0e3fa..106d52a0 100755 --- a/bin/reproducible_freebsd.sh +++ b/bin/reproducible_freebsd.sh @@ -18,8 +18,8 @@ MACHINES="sparc64 amd64" cleanup_tmpdirs() { cd - rm -r $TMPDIR - rm -r $TMPBUILDDIR + $RSSH "rm -r $TMPDIR" + $RSSH "rm -r $TMPBUILDDIR" } create_results_dirs() { @@ -49,8 +49,8 @@ echo "========================================================================== echo "$(date -u) - Cloning the freebsd git repository (which is autosynced with their CVS repository)" echo "=============================================================================" $RSSH git clone https://github.com/freebsd/freebsd.git $TMPBUILDDIR/freebsd -FREEBSD="$($RSSH \"cd $TMPBUILDDIR/freebsd ; git log -1\")" -FREEBSD_VERSION="$($RSSH \"cd $TMPBUILDDIR/freebsd ; git describe --always\")" +FREEBSD=$($RSSH "cd $TMPBUILDDIR/freebsd ; git log -1") +FREEBSD_VERSION=$($RSSH "cd $TMPBUILDDIR/freebsd ; git describe --always") echo "This is freebsd $FREEBSD_VERSION." echo $RSSH "cd $TMPBUILDDIR/freebsd ; git log -1" -- cgit v1.2.3-70-g09d2