From 21873fffb35d1df8cf27d864e2c964ceb31139d6 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 1 Oct 2007 17:36:52 +0000 Subject: [PATCH] Partitions are no regular files. The check for mere existence shall suffice. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22398 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/scripts/build_haiku_image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scripts/build_haiku_image b/build/scripts/build_haiku_image index de09cba893..6db610e09d 100755 --- a/build/scripts/build_haiku_image +++ b/build/scripts/build_haiku_image @@ -84,7 +84,7 @@ if [ $isImage ]; then echo if [ ! $updateOnly ]; then echo "Creating image ..." - if [ ! -f $imagePath -o ! "$dontClearImage" ]; then + if [ ! -e $imagePath -o ! "$dontClearImage" ]; then dd if=/dev/zero of=$imagePath bs=1048576 count=$imageSize fi $bfsShell --initialize $imagePath Haiku