summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralvinwang <alvinwang@msn.com>2015-12-23 01:45:11 -0600
committeralvinwang <alvinwang@msn.com>2015-12-24 19:14:25 -0600
commit72d0ed63bee7c9c33554e93a0f944aad34776a37 (patch)
tree9e88cf1fca53b50441db77c397e595c5c0b9936d
parentf0418b78ca1711448852a7828287fd8522cfada3 (diff)
downloadvpdtools-72d0ed63bee7c9c33554e93a0f944aad34776a37.tar.gz
vpdtools-72d0ed63bee7c9c33554e93a0f944aad34776a37.zip
Add windows system support
-rwxr-xr-xcreateVpd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/createVpd.py b/createVpd.py
index 1f2fda4..9caa3a0 100755
--- a/createVpd.py
+++ b/createVpd.py
@@ -39,6 +39,7 @@ import struct
import re
import argparse
import textwrap
+import os
############################################################
# Classes - Classes - Classes - Classes - Classes - Classes
@@ -371,7 +372,7 @@ clInputPath = args.inpath
# Make sure the path exists
if (clInputPath != None):
# Add the CWD onto the path so the local directory is always looked at
- clInputPath += ":."
+ clInputPath += os.pathsep + "."
else:
# Set it the CWD since it will be used throughout the program and having it set to None breaks things
clInputPath = "."
OpenPOWER on IntegriCloud