[xiph-cvs] cvs commit: positron/scripts positron

Stan Seibert volsung at xiph.org
Sun May 25 14:01:37 PDT 2003



volsung     03/05/25 17:01:37

  Modified:    scripts  positron
  Log:
  -m option should do something with the mountpoint

Revision  Changes    Path
1.5       +5 -1      positron/scripts/positron

Index: positron
===================================================================
RCS file: /usr/local/cvsroot/positron/scripts/positron,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- positron	22 May 2003 17:54:55 -0000	1.4
+++ positron	25 May 2003 21:01:37 -0000	1.5
@@ -79,7 +79,7 @@
         sys.exit()
 
     config = Config()
-    
+    mountpoint = None
     for o,a in opts:
         if o in ("-v", "--version"):
             print version
@@ -122,6 +122,10 @@
               % (e,)
         print "You can create or modify the configuration file with \"positron config\""
         sys.exit(1)
+
+    # Allow mountpoint override
+    if mountpoint != None:
+        config.mountpoint = mountpoint
 
     # Sanity check
     if not config.mountpoint:

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list