Changeset 276

Show
Ignore:
Timestamp:
Tue May 16 10:26:06 2006
Author:
giovannibajo
Message:

Fix quoting of filenames when invoking external commands like strip and upx

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/Build.py

    r265 r276  
    318 318         if strip:  
    319 319             fnm = checkCache(fnm, 1, 0)  
    320           cmd = "upx --best -q %s" % cachedfile  
      320         cmd = "upx --best -q \"%s\"" % cachedfile  
    320 320     else:  
    321           cmd = "strip %s" % cachedfile  
      321         cmd = "strip \"%s\"" % cachedfile  
    321 321     shutil.copy2(fnm, cachedfile)  
    322 322     os.chmod(cachedfile, 0755)