summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Albert <albertj@us.ibm.com>2015-03-16 15:43:20 -0500
committerJason Albert <albertj@us.ibm.com>2015-03-16 15:43:20 -0500
commit69e20a36710faf722aa2ca706bbc3efc0836b4bd (patch)
tree4edbac55725d75fa42def1cf620e1317a3d924c5
parentf11301125086f607d82a86fb17fe34dcbdd8d5ec (diff)
downloadvpdtools-69e20a36710faf722aa2ca706bbc3efc0836b4bd.tar.gz
vpdtools-69e20a36710faf722aa2ca706bbc3efc0836b4bd.zip
Forced the CWD onto the user given input path
-rwxr-xr-xcreateVpd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/createVpd.py b/createVpd.py
index 03e07df..b89ba32 100755
--- a/createVpd.py
+++ b/createVpd.py
@@ -353,7 +353,8 @@ else:
clInputPath = cmdline.parseOptionWithArg("-i", "--inpath")
# Make sure the path exists
if (clInputPath != None):
- pass
+ # Add the CWD onto the path
+ clInputPath += ":."
# Let's not do this check because it will allow the user to pass in multiple : seperated paths
# Yes, we could split the path and check each one, but not now
#if (os.path.exists(clInputPath) != True):
OpenPOWER on IntegriCloud