summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2012-12-05 16:37:24 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2012-12-05 16:37:24 +0000
commit2b62e95bf4cf7c886a9903fe587e62787dadd467 (patch)
treef246ab65858b885c2f5d4b04f8a067ca800dc924
parentb8cf5951e3191bbc8ad3118aa7d175eb1f603d66 (diff)
downloadgenivi-initial-setup-2b62e95bf4cf7c886a9903fe587e62787dadd467.tar.gz
Fix if-statement that prevented the kernel image downloading
-rwxr-xr-xarmv7-versatile/download-image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/armv7-versatile/download-image.sh b/armv7-versatile/download-image.sh
index f283783..0989b3d 100755
--- a/armv7-versatile/download-image.sh
+++ b/armv7-versatile/download-image.sh
@@ -25,7 +25,7 @@ if [[ ! -f "$COMPRESSED_IMAGE" ]]; then
"$COMPRESSED_IMAGE"
fi
-if [[ -f "$KERNEL_IMAGE" ]]; then
+if [[ ! -f "$KERNEL_IMAGE" ]]; then
echo "Downloading kernel image..."
curl "http://download.baserock.org/baserock/$KERNEL_IMAGE" > \
"$KERNEL_IMAGE"