All of lore.kernel.org
 help / color / mirror / Atom feed
* Broken quoting in bb.utils.remove()
@ 2013-02-18 17:37 Enrico Scholz
  0 siblings, 0 replies; only message in thread
From: Enrico Scholz @ 2013-02-18 17:37 UTC (permalink / raw)
  To: bitbake-devel

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-18 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18 17:37 Broken quoting in bb.utils.remove() Enrico Scholz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.