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
This commit is contained in:
@@ -84,7 +84,7 @@ if [ $isImage ]; then
|
|||||||
echo
|
echo
|
||||||
if [ ! $updateOnly ]; then
|
if [ ! $updateOnly ]; then
|
||||||
echo "Creating image ..."
|
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
|
dd if=/dev/zero of=$imagePath bs=1048576 count=$imageSize
|
||||||
fi
|
fi
|
||||||
$bfsShell --initialize $imagePath Haiku
|
$bfsShell --initialize $imagePath Haiku
|
||||||
|
|||||||
Reference in New Issue
Block a user