You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/boot
+18-16Lines changed: 18 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -11,21 +11,20 @@ import argparse
11
11
importsubprocess
12
12
importre
13
13
14
-
INCLUDEOS_PREFIX=None
15
-
default_prefix="/usr/local/includeos"
16
-
17
-
# Locate IncludeOS installation
18
-
if"INCLUDEOS_PREFIX"notinos.environ:
19
-
INCLUDEOS_PREFIX=default_prefix
20
-
else:
21
-
INCLUDEOS_PREFIX=os.environ['INCLUDEOS_PREFIX']
22
-
23
-
ifnotos.path.isdir(INCLUDEOS_PREFIX):
24
-
print"Couldn't find IncludeOS installation. If you installed to a non-default location (e.g. not "+default_prefix+") please set the environment variable INCLUDEOS_PREFIX to point to this location."
0 commit comments