Set $PATH if it's not in the environment
commite65c47716226bf3b1266ca5589d47f884048cce1
authorAlberto Bertogli <albertito@blitiri.com.ar>
Tue, 14 Feb 2012 02:05:03 +0000 (14 03:05 +0100)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Tue, 14 Feb 2012 02:05:03 +0000 (14 03:05 +0100)
tree9a64f2cd28b43353751aa21c9b8f6e741cd3baac
parentc7f39dcb83020445482ddcffa005de8bf2650a9f
Set $PATH if it's not in the environment
Recent versions of darcs require the $PATH environment variable to be set, in
order to find "diff". Some http servers don't set it, and darcs will fail to
diff.

This patch attempts to set a basic path variable hoping that it will work for
most cases; it is really up to the server to set it if diff is not in one of
these places.