Corrected unconventional var names.

Change-Id: I88c7fcf9607f89cec257b5bcfc7aa458a15d055d
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/gen_print.py b/lib/gen_print.py
index 39ae457..36c6fa5 100755
--- a/lib/gen_print.py
+++ b/lib/gen_print.py
@@ -35,9 +35,9 @@
 
 # Setting these variables for use both inside this module and by programs
 # importing this module.
-pgm_dir_path = sys.argv[0]
-pgm_name = os.path.basename(pgm_dir_path)
-pgm_dir_name = re.sub("/" + pgm_name, "", pgm_dir_path) + "/"
+pgm_file_path = sys.argv[0]
+pgm_name = os.path.basename(pgm_file_path)
+pgm_dir_path = re.sub("/" + pgm_name, "", pgm_file_path) + "/"
 
 
 # Some functions (e.g. sprint_pgm_header) have need of a program name value