Merge "inital Makefile struct with bm metal3" into dev/icn-v0.1.0
[icn.git] / env / metal3 / 02_configure.sh
similarity index 98%
rename from env/02_configure.sh
rename to env/metal3/02_configure.sh
index 016f202..15864d6 100755 (executable)
@@ -1,8 +1,9 @@
 #!/usr/bin/env bash
 set -xe
+LIBDIR="$(dirname "$PWD")"
 
-source lib/logging.sh
-source lib/common.sh
+source $LIBDIR/lib/logging.sh
+source $LIBDIR/lib/common.sh
 
 if [[ $EUID -ne 0 ]]; then
     echo "confgiure script must be run as root"