p2v-iso: unset CDPATH, set -e at the top of the virt-builder-target script.

This commit is contained in:
Richard W.M. Jones
2014-05-17 10:58:00 +01:00
parent c65fbeebb8
commit 1939cd4849

View File

@@ -16,6 +16,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
unset CDPATH
set -e
if [ -z "$OUTPUT" ]; then
echo "$0: You didn't set the output file or device (OUTPUT). Read the README file!"
exit 1