Update of /cvsroot/webware/Webware/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv9131/bin
Modified Files:
MakeAppWorkDir.py
Log Message:
Fixed command-line parsing a bit
Index: MakeAppWorkDir.py
===================================================================
RCS file: /cvsroot/webware/Webware/bin/MakeAppWorkDir.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** MakeAppWorkDir.py 4 Dec 2002 04:36:37 -0000 1.14
--- MakeAppWorkDir.py 12 Dec 2002 05:21:04 -0000 1.15
***************
*** 84,90 ****
self.makeLauncherScripts()
self.makeDefaultContext()
- self.printCompleted()
if self._addCVSIgnore:
self.addCVSIgnore()
def makeDirectories(self):
--- 84,90 ----
self.makeLauncherScripts()
self.makeDefaultContext()
if self._addCVSIgnore:
self.addCVSIgnore()
+ self.printCompleted()
def makeDirectories(self):
***************
*** 390,398 ****
args = args[2:]
continue
! if not args:
! print __doc__
! sys.exit(1)
! targetDir = args[0]
! args = args[1:]
# this assumes that this script is still located in Webware/bin
--- 390,403 ----
args = args[2:]
continue
! if not targetDir and not args[0].startswith('-'):
! targetDir = args[0]
! args = args[1:]
! continue
! # Must be an error:
! print __doc__
! sys.exit(1)
! if not targetDir:
! print __doc__
! sys.exit(1)
# this assumes that this script is still located in Webware/bin
|