From ef92d33af87cddb0269ac50ae78ee2499daf231d Mon Sep 17 00:00:00 2001 From: Monwarez Date: Sat, 25 Mar 2017 23:47:16 +0100 Subject: Use /usr/bin/env instead of full path to bash And also, use sysctl for detecting the number of CPU when the system is FreeBSD --- tools/ci/jobs/gcc46.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/ci/jobs/gcc46.sh') diff --git a/tools/ci/jobs/gcc46.sh b/tools/ci/jobs/gcc46.sh index f66f604..f2cf542 100755 --- a/tools/ci/jobs/gcc46.sh +++ b/tools/ci/jobs/gcc46.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export CC=gcc-4.6 export CXX=g++-4.6 -- cgit v1.2.3-70-g09d2