jeffmccune/puppet — comment on commit 6dc5642c6c5fdfd13e44d62e261f33ff4dd5bf4f
File: conf/windows/stagedir/bin/facter.bat line 23
By joshcooper:

I just noticed the old way hard-coded the path to the puppet or facter ruby file as the first argument. Would `%0` be correct if you executed the batch file using its extension, e.g. `puppet.bat`. Seem like the script would try to pass `puppet.bat` as `%0` instead of `puppet`