only setup path when executing something, not generally

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-08-10 16:17:15 +02:00
commit 160d85dee1
3 changed files with 5 additions and 7 deletions

View file

@ -18,7 +18,8 @@
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
#
#
# Exec the code for the given object locally and remote
# Test whether something is executable (that should be executable) or
# is missing
#
__cdist_is_executable()