Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/guysoft/OctoPi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Sheffer <guysoft@gmail.com>2015-03-05 02:34:57 +0300
committerGuy Sheffer <guysoft@gmail.com>2015-03-05 02:34:57 +0300
commit06d449e0e69cb402f16ef25e2fe638985b2d764a (patch)
treec2e9518ebb49a633dea5060fc751f8e9a0839ac9
parent864d06f527058c0b3d0f5e4f2dda0bf794e00829 (diff)
Fix common.sh source and make it absolute
-rwxr-xr-xsrc/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build b/src/build
index eaf24f2..9dd99f1 100755
--- a/src/build
+++ b/src/build
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
-source ./common.sh
+BUILD_SCRIPT__PATH=$(dirname $(realpath -s $BASH_SOURCE))
+source ${BUILD_SCRIPT__PATH}/common.sh
OCTOPI_PATH=$(dirname $(realpath -s $0))