From: Andres Salomon Date: Mon, 17 Nov 2008 21:24:37 +0000 (-0500) Subject: fix bashism w/ inclusion of functions.sh X-Git-Tag: v0.4~8 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?p=xodist;a=commitdiff_plain;h=36debc0ac2eddcc52f2d605f4dd06530091c4664 fix bashism w/ inclusion of functions.sh ". functions.sh" doesn't work in dash/posh; ". ./functions.sh" is necessary. Thanks to Erik Garrison for pointing this out. Signed-off-by: Andres Salomon --- diff --git a/initchroot.sh b/initchroot.sh index ed729b4..7edff43 100755 --- a/initchroot.sh +++ b/initchroot.sh @@ -22,7 +22,7 @@ APT_SOURCES="deb http://http.us.debian.org/debian/ lenny main contrib non-free deb http://security.debian.org/ lenny/updates main contrib non-free" LOCAL_APT_MIRROR= -. functions.sh +. ./functions.sh usage() { diff --git a/mkbootable.sh b/mkbootable.sh index 7a9e75a..527f498 100755 --- a/mkbootable.sh +++ b/mkbootable.sh @@ -33,7 +33,7 @@ IMAGE_DEFAULT= INTERACTIVE=yes OUTPUT=${IMAGE_DEFAULT}.bootable -. functions.sh +. ./functions.sh images() { diff --git a/mkext3.sh b/mkext3.sh index abc05b3..ddc6a19 100755 --- a/mkext3.sh +++ b/mkext3.sh @@ -21,7 +21,7 @@ IMG_LABEL="DebXO" 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 diff --git a/mkjffs2.sh b/mkjffs2.sh index a885a24..c635665 100755 --- a/mkjffs2.sh +++ b/mkjffs2.sh @@ -16,7 +16,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -. functions.sh +. ./functions.sh usage() {