summaryrefslogtreecommitdiff
path: root/tools/vars.sh
diff options
context:
space:
mode:
authorMonwarez <monwarez@gmail.com>2017-03-25 23:47:16 +0100
committerThibault Payet <monwarez@gmail.com>2017-07-26 00:20:36 +0200
commitef92d33af87cddb0269ac50ae78ee2499daf231d (patch)
treef74e6c6e7199cea5bb040ebac71c76e25da09f90 /tools/vars.sh
parent38a48f8136c3fa326e126cacbd8131608f25d51c (diff)
downloadplugin-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/vars.sh')
-rwxr-xr-xtools/vars.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vars.sh b/tools/vars.sh
index 5e52432..24d2aec 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# MAX_SKILL 1510 + 22 = 1532
# MAX_SKILL_ID 10015 + 22 + 9963 = 20022