[Commits] (markie) Abs path for output dir

commits at osafoundation.org commits at osafoundation.org
Fri May 7 12:54:15 PDT 2004


Commit by: markie
Modified files:
osaf/hardhat/tindertest.py 1.5 1.6

Log message:
Abs path for output dir


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/hardhat/tindertest.py.diff?r1=text&tr1=1.5&r2=text&tr2=1.6

Index: osaf/hardhat/tindertest.py
diff -u osaf/hardhat/tindertest.py:1.5 osaf/hardhat/tindertest.py:1.6
--- osaf/hardhat/tindertest.py:1.5	Fri May  7 12:26:35 2004
+++ osaf/hardhat/tindertest.py	Fri May  7 12:53:44 2004
@@ -50,7 +50,7 @@
       default="chandler", help="Name of script to use (without .py extension)\n"
       "[default] chandler")
     parser.add_option("-o", "--output", action="store", type="string", dest="outputDir",
-      default="~/output", help="Name of temp output directory\n"
+      default=os.path.join(os.environ['HOME'],"output"), help="Name of temp output directory\n"
       " [default] ~/output")
     parser.add_option("-D", "--distrib", action="store_true", dest="doDistrib",
       default=False, help="Shall distribution archives be prepared and uploaded?\n"



More information about the Commits mailing list