-#!/bin/sh -e
+#!/bin/bash -e
#
# Copyright © 2008 Andres Salomon <dilinger@queued.net>
#
IMG_NAME=""
ROOT_DIR=""
-. functions.sh
+. ./functions.sh
# @img - fs image to attach loop device to
# @offset - if the image is partitioned, the offset to attach at