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/gcc6.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/ci/jobs/gcc6.sh') diff --git a/tools/ci/jobs/gcc6.sh b/tools/ci/jobs/gcc6.sh index 34cf845..85f6748 100755 --- a/tools/ci/jobs/gcc6.sh +++ b/tools/ci/jobs/gcc6.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export CC=gcc-6 export CXX=g++-6 -- cgit v1.2.3-70-g09d2