[bitbake-devel] Broken quoting in bb.utils.remove()
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Mon Feb 18 17:37:20 UTC 2013
Hi,
commit 96088ebdec08e49ba9e8dbcac437bfcdc21f5983 causes unwanted effects
when path contains special shell chars like whitespaces, '$', ';' or
'\'.
Something like
- subprocess.call("rm -rf %s" % path, shell=True)
+ subprocess.call(['rm', '-rf'] + glob.glob(path), shell=False)
would restore previous behavior.
Enrico
More information about the bitbake-devel
mailing list