Message ID | 20111222161213.31044.63410.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'linaro-hwpack-install' --- linaro-hwpack-install 2011-06-23 12:52:43 +0000 +++ linaro-hwpack-install 2011-12-06 03:35:46 +0000 @@ -29,6 +29,11 @@ set -e +if [ -n "${TMPDIR+x}" ]; then + echo -e "\nWARNING: TMPDIR variable is set. It will be unset because in chroot environment it likely doesn't exist and can lead to error messages.\n" + unset TMPDIR +fi + LOCKFILE="/var/lock/hwpack" TEMP_DIR=$(mktemp -d) HWPACK_DIR="${TEMP_DIR}/unpacked"