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
     if not os.path.isdir(LODEL2_LIB_ABS_PATH):
15
     if not os.path.isdir(LODEL2_LIB_ABS_PATH):
16
         print("FATAL ERROR : the LODEL2_LIB_ABS_PATH variable in loader.py is \
16
         print("FATAL ERROR : the LODEL2_LIB_ABS_PATH variable in loader.py is \
17
 not correct : '%s'" % LODEL2_LIB_ABS_PATH, file=sys.stderr)
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
 try:
20
 try:
21
     import lodel
21
     import lodel

+ 1
- 1
scripts/create_instance.sh View File

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

Loading…
Cancel
Save