summaryrefslogtreecommitdiff
path: root/localserver
diff options
context:
space:
mode:
authorMonwarez <monwarez@gmail.com>2016-11-26 02:28:56 +0100
committerThibault Payet <monwarez@gmail.com>2017-07-26 00:18:53 +0200
commitbc0e4eb01ce8ddba0f8e8b12c9bed9e50e8afc40 (patch)
tree09b7c88e828e3dd779658cc575df3e26c66696b6 /localserver
parente56a2a0f64c12f9fbeaccfa378fcddfb3620e74d (diff)
downloadevol-tools-bc0e4eb01ce8ddba0f8e8b12c9bed9e50e8afc40.tar.gz
evol-tools-bc0e4eb01ce8ddba0f8e8b12c9bed9e50e8afc40.tar.bz2
evol-tools-bc0e4eb01ce8ddba0f8e8b12c9bed9e50e8afc40.tar.xz
evol-tools-bc0e4eb01ce8ddba0f8e8b12c9bed9e50e8afc40.zip
use env instead of full path to bash
Diffstat (limited to 'localserver')
-rwxr-xr-xlocalserver/build.sh2
-rwxr-xr-xlocalserver/buildasan.sh2
-rwxr-xr-xlocalserver/clean.sh2
-rwxr-xr-xlocalserver/givegm.sh2
-rwxr-xr-xlocalserver/initdb.sh2
-rwxr-xr-xlocalserver/installconfigs.sh2
-rwxr-xr-xlocalserver/updateconfigs.sh2
-rwxr-xr-xlocalserver/updatedb.sh2
8 files changed, 8 insertions, 8 deletions
diff --git a/localserver/build.sh b/localserver/build.sh
index aa7fbb6..ee8a93c 100755
--- a/localserver/build.sh
+++ b/localserver/build.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
export DIR=`pwd`
source ./clean.sh
diff --git a/localserver/buildasan.sh b/localserver/buildasan.sh
index c433ce8..5c6d9f7 100755
--- a/localserver/buildasan.sh
+++ b/localserver/buildasan.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
export DIR=`pwd`
source ./clean.sh
diff --git a/localserver/clean.sh b/localserver/clean.sh
index fbd884b..134f5cb 100755
--- a/localserver/clean.sh
+++ b/localserver/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
rm -rf ../../server-code/src/evol/build/
mkdir ../../server-code/src/evol/build/
diff --git a/localserver/givegm.sh b/localserver/givegm.sh
index c1a9c28..ac9d301 100755
--- a/localserver/givegm.sh
+++ b/localserver/givegm.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
ID="$1"
if [[ -z "${ID}" ]]; then
diff --git a/localserver/initdb.sh b/localserver/initdb.sh
index cd8557a..7c99524 100755
--- a/localserver/initdb.sh
+++ b/localserver/initdb.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
export DIR="$(pwd)"
export VER=$(cat versions/sqlver 2>/dev/null)
diff --git a/localserver/installconfigs.sh b/localserver/installconfigs.sh
index 4e08c8f..095c074 100755
--- a/localserver/installconfigs.sh
+++ b/localserver/installconfigs.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
export SD="../../server-data"
export CONF="$SD/conf/import"
diff --git a/localserver/updateconfigs.sh b/localserver/updateconfigs.sh
index 2e85481..dc804b8 100755
--- a/localserver/updateconfigs.sh
+++ b/localserver/updateconfigs.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
export VER=$(cat versions/confver 2>/dev/null)
export CONFDIR="../../server-data/"
diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh
index ee58056..f13d8d0 100755
--- a/localserver/updatedb.sh
+++ b/localserver/updatedb.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
export VER=$(cat versions/sqlver 2>/dev/null)
export SQLDIR="../../server-data/sql-files/upgrades"