summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2016-12-22 07:56:12 -0500
committerHolger Levsen <holger@layer-acht.org>2016-12-22 13:59:13 +0100
commit7e77410f4783ae07d7a81afb92c39135c547d612 (patch)
tree6b0bfa0d6b93533d385077bd2cfd83367358100e /bin
parent0d0606c837ae80b5f82f222959e43a641790ae3f (diff)
downloadjenkins.debian.net-7e77410f4783ae07d7a81afb92c39135c547d612.tar.xz
reproducible FreeBSD: invoke sysctl on the FreeBSD VM
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_freebsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index 0f1b0b65..95100b99 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -124,7 +124,7 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do
echo "============================================================================="
export TZ="/usr/share/zoneinfo/Etc/GMT+12"
export LANG="en_GB.UTF-8"
- NUM_CPU=$(sysctl -n hw.ncpu)
+ NUM_CPU=$($RSSH sysctl -n hw.ncpu)
# actually build everything
if ( $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG sudo make -j $NUM_CPU buildworld" && \
$RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG sudo make -j $NUM_CPU buildkernel" && \