]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Increase script portability
authorTimePath <andrew.hardaker1995@gmail.com>
Wed, 22 Jun 2016 11:08:44 +0000 (21:08 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Wed, 22 Jun 2016 11:08:44 +0000 (21:08 +1000)
qcsrc/tools/compilationunits.sh

index 0a03de360292dfb4eef7b84ece96d524466207f4..2fa17825ec1394d8b5efddc7db85513a7c00ca8c 100755 (executable)
@@ -1,6 +1,6 @@
-#!/bin/bash
+#!/usr/bin/env bash
 set -eu
-cd "$(dirname "$0")"
+cd ${0%/*}
 
 WORKDIR=../.tmp