Crossplatform header for bash files

This commit is contained in:
Yehonal
2016-08-26 16:23:25 +02:00
parent 1f16a068e9
commit 41f64fb287
11 changed files with 11 additions and 12 deletions

View File

@@ -1,3 +1,5 @@
#!/usr/bin/env bash
unamestr=`uname`
if [[ "$unamestr" == 'Darwin' ]]; then
SRCPATH=$(greadlink -f "../../")