Update of /cvsroot/freevo/freevo/src/helpers In directory sc8-pr-cvs1:/tmp/cvs-serv12372
Modified Files: install.py Log Message: make needed dirs Index: install.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/helpers/install.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** install.py 2 Nov 2003 10:51:14 -0000 1.3 --- install.py 2 Nov 2003 11:02:50 -0000 1.4 *************** *** 12,15 **** --- 12,18 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.4 2003/11/02 11:02:50 dischi + # make needed dirs + # # Revision 1.3 2003/11/02 10:51:14 dischi # change runtime name *************** *** 55,58 **** --- 58,69 ---- import util.fileops + def mkalldir(d): + cd = '' + for p in d.split('/'): + cd = os.path.join(cd, p) + if not os.path.isdir(cd): + os.mkdir(cd) + + if len(sys.argv) == 2 and os.path.isfile(sys.argv[1]): is_local = False *************** *** 95,98 **** --- 106,110 ---- new_file.find('i18n') == 0): print 'installing %s' % new_file + mkalldir(os.path.dirname(new_file)) os.rename(file, new_file) else: ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog