]> spindle.queued.net Git - xodist/commitdiff
fix bashism w/ inclusion of functions.sh
authorAndres Salomon <dilinger@debian.org>
Mon, 17 Nov 2008 21:24:37 +0000 (16:24 -0500)
committerAndres Salomon <dilinger@debian.org>
Mon, 17 Nov 2008 21:24:37 +0000 (16:24 -0500)
". 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 <dilinger@debian.org>
initchroot.sh
mkbootable.sh
mkext3.sh
mkjffs2.sh

index ed729b4c98f4e690198b822df1dbe67e60dfa047..7edff438896ef27132e7a378de668c747510d47d 100755 (executable)
@@ -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()
 {
index 7a9e75a8a1005f80c7476dc4dd8b66a422687be7..527f4983e0c665fb17777b23f142bb41965eaf00 100755 (executable)
@@ -33,7 +33,7 @@ IMAGE_DEFAULT=
 INTERACTIVE=yes
 OUTPUT=${IMAGE_DEFAULT}.bootable
 
-. functions.sh
+. ./functions.sh
 
 images()
 {
index abc05b3071f4c625fe821f1c2c3b698439e90b83..ddc6a19b83ec7432c125b33a1d4b8b1f0cfce90a 100755 (executable)
--- 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
index a885a24818795160d281800b86058b1e117587f6..c635665fc1de7257484f470cb2455d50ad8be3e7 100755 (executable)
@@ -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()
 {