[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Fedora-livecd-list] tools/livecd-creator



 tools/livecd-creator |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 75193172b7636d1d274cc064b4386161a5488142
Author: Jeremy Katz <katzj redhat com>
Date:   Fri Dec 19 13:43:55 2008 -0500

    Don't allow spaces in labels (#475834)

diff --git a/tools/livecd-creator b/tools/livecd-creator
index 6d84e4c..719c874 100755
--- a/tools/livecd-creator
+++ b/tools/livecd-creator
@@ -73,6 +73,8 @@ def parse_options(args):
         raise Usage("Live CD ISO '%s' does not exist" %(options.base_on,))
     if options.fs_label and len(options.fs_label) > imgcreate.FSLABEL_MAXLEN:
         raise Usage("CD labels are limited to 32 characters")
+    if options.fs_label and options.fs_label.find(" ") != -1:
+        raise Usage("CD labels cannot contain spaces.")
 
     return options
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]