diff options
author | Monwarez <monwarez@gmail.com> | 2017-03-25 23:47:16 +0100 |
---|---|---|
committer | Thibault Payet <monwarez@gmail.com> | 2017-07-26 00:20:36 +0200 |
commit | ef92d33af87cddb0269ac50ae78ee2499daf231d (patch) | |
tree | f74e6c6e7199cea5bb040ebac71c76e25da09f90 /tools/ci/jobs | |
parent | 38a48f8136c3fa326e126cacbd8131608f25d51c (diff) | |
download | plugin-ef92d33af87cddb0269ac50ae78ee2499daf231d.tar.gz plugin-ef92d33af87cddb0269ac50ae78ee2499daf231d.tar.bz2 plugin-ef92d33af87cddb0269ac50ae78ee2499daf231d.tar.xz plugin-ef92d33af87cddb0269ac50ae78ee2499daf231d.zip |
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
Diffstat (limited to 'tools/ci/jobs')
-rwxr-xr-x | tools/ci/jobs/clang39.sh | 2 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc46.sh | 2 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc48.sh | 2 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc49.sh | 2 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc5.sh | 2 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc6.sh | 2 | ||||
-rwxr-xr-x | tools/ci/jobs/gccsnapshot.sh | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/tools/ci/jobs/clang39.sh b/tools/ci/jobs/clang39.sh index baf2db1..41e4e8a 100755 --- a/tools/ci/jobs/clang39.sh +++ b/tools/ci/jobs/clang39.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export CC=clang-3.9 export CXX=clang++-3.9 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 diff --git a/tools/ci/jobs/gcc48.sh b/tools/ci/jobs/gcc48.sh index e364a9c..1867d5f 100755 --- a/tools/ci/jobs/gcc48.sh +++ b/tools/ci/jobs/gcc48.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export CC=gcc-4.8 export CXX=g++-4.8 diff --git a/tools/ci/jobs/gcc49.sh b/tools/ci/jobs/gcc49.sh index 88a7b96..800f970 100755 --- a/tools/ci/jobs/gcc49.sh +++ b/tools/ci/jobs/gcc49.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export CC=gcc-4.9 export CXX=g++-4.9 diff --git a/tools/ci/jobs/gcc5.sh b/tools/ci/jobs/gcc5.sh index 5dcbe2a..cb959a1 100755 --- a/tools/ci/jobs/gcc5.sh +++ b/tools/ci/jobs/gcc5.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export CC=gcc-5 export CXX=g++-5 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 diff --git a/tools/ci/jobs/gccsnapshot.sh b/tools/ci/jobs/gccsnapshot.sh index 542ce31..97fffaf 100755 --- a/tools/ci/jobs/gccsnapshot.sh +++ b/tools/ci/jobs/gccsnapshot.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export CC=gcc export CXX=g++ |