Browse Source

Bugfix in create_instance.sh and install/loader.py

Allows runtest to run again =)
Yann Weber 7 years ago
parent
commit
5bddfacb4b
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      install/loader.py
  2. 1
    1
      scripts/create_instance.sh

+ 1
- 1
install/loader.py View File

@@ -15,7 +15,7 @@ if LODEL2_LIB_ABS_PATH is not None:
15 15
     if not os.path.isdir(LODEL2_LIB_ABS_PATH):
16 16
         print("FATAL ERROR : the LODEL2_LIB_ABS_PATH variable in loader.py is \
17 17
 not correct : '%s'" % LODEL2_LIB_ABS_PATH, file=sys.stderr)
18
-    sys.path.append(os.path.dirname(LODEL2_LIB_ABS_PATH))
18
+    sys.path.append(LODEL2_LIB_ABS_PATH)
19 19
 
20 20
 try:
21 21
     import lodel

+ 1
- 1
scripts/create_instance.sh View File

@@ -25,7 +25,7 @@ name="$1"
25 25
 instdir="$2"
26 26
 
27 27
 
28
-libdir=$(realpath $(dirname $0))
28
+libdir=$(realpath $(dirname $0)/../)
29 29
 install_tpl="$3"
30 30
 install_tpl="${install_tpl:=$libdir/install}"
31 31
 em_file="$4"

Loading…
Cancel
Save