Blair McBride wrote:
On 5/09/2012 6:13 a.m., Gregory Szorc wrote:
$ hg status -u | grep .egg-info | xargs rm -rf
$ git ls-files -o '*.egg-info*' | xargs rm -rf
Those of you on Windows will notice this doesn't work, thanks to
Windows-style paths. The following will:
$ hg status -un | grep .egg-info | sed 's/\\/\//g' | xargs rm -rf
$ git ls-files -o '*.egg-info*' | sed 's/\\/\//g' | xargs rm -rf
Or you could use tr \\\\ / instead. Also I'm not sure you'll need it for
git, because that's probably the msys version, and I'm going to
extrapolate that it uses forward slashes. (Sadly there's no true msys
version of python, which would have avoided all of these problems.)
--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform