summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-18 05:14:39 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-18 05:14:39 +0200
commitd38f9c7067b9b41cde8815e24925156ba9e3109c (patch)
tree168f580e4ccc0b748db11ecad7407d3160058bae /bin
parent3449717e4ceb0e85559a4de09de3211be8ea7dbd (diff)
downloadjenkins.debian.net-d38f9c7067b9b41cde8815e24925156ba9e3109c.tar.xz
reproducible freebsd: cleanup properly
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_freebsd.sh8
1 files changed, 4 insertions, 4 deletions
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"