aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hudson <michael.hudson@linaro.org>2010-12-10 11:32:28 +1300
committerMichael Hudson <michael.hudson@linaro.org>2010-12-10 11:32:28 +1300
commita84949a23420dd33da4a519be1613e31c6874b54 (patch)
tree7ab539fe0964ae8073cbbd48cc5e3db02447d90b
parentf9053bfaf266c809ece962940092d7afce19e17d (diff)
classic 180 degree wrong logic bug
-rwxr-xr-xlinaro-media-create6
1 files changed, 3 insertions, 3 deletions
diff --git a/linaro-media-create b/linaro-media-create
index b950d72..1ddf2f5 100755
--- a/linaro-media-create
+++ b/linaro-media-create
@@ -373,10 +373,10 @@ install_hwpack() {
echo "---------------------------------------------------"
echo "Installing (apt-get) $HWPACK_FILE in target rootfs."
echo ""
- if [ $HWPACK_FORCE_YES = 'yes' ]; then
- sudo LC_ALL=C chroot "$chroot" linaro-hwpack-install /"$(basename "$HWPACK_FILE")"
- else
+ if [ "$HWPACK_FORCE_YES" = "yes" ]; then
sudo LC_ALL=C chroot "$chroot" linaro-hwpack-install --force-yes /"$(basename "$HWPACK_FILE")"
+ else
+ sudo LC_ALL=C chroot "$chroot" linaro-hwpack-install /"$(basename "$HWPACK_FILE")"
fi
echo "---------------------------------------------------"
echo ""