Handle imported commands that aren't in the PATH
authorNikos Skalkotos <skalkoto@grnet.gr>
Wed, 7 Mar 2012 13:40:05 +0000 (15:40 +0200)
committerNikos Skalkotos <skalkoto@grnet.gr>
Wed, 7 Mar 2012 15:45:35 +0000 (17:45 +0200)
commit01a7cff3bae1bac66d8945c810f0eed8b019422d
tree5560ad4aa5a38245671fea30ec198b59b1feeef5
parent36e348b6f3ed6d83b9d1a0c18e7b7572beb3c907
Handle imported commands that aren't in the PATH

This fixes cases where a normal user tries to execute the program and
the program raises pbs.CommandNotFound exceptions because it tries to
import a command from sbin, which is not in the path.
image_creator/disk.py