From 0922dc10ff00601fbec6a8bb6519e2968461ba0a Mon Sep 17 00:00:00 2001 From: torben Date: Tue, 9 Feb 2016 22:03:52 +0100 Subject: Fix. --- builder/build-initramfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh index 669e6a28..a19326b5 100755 --- a/builder/build-initramfs.sh +++ b/builder/build-initramfs.sh @@ -39,8 +39,8 @@ if ! [[ -d "$_needed_location" ]]; then pushd "$_temporary_repository_location" git submodule init git submodule foreach ' - branch="$(git config -f $toplevel/.gitmodules submodule.$name.branch)" - git clone --depth 1 --branch $branch + branch="$(git config --file "$toplevel/.gitmodules" "submodule.$name.branch")" + git clone --depth 1 --branch "$branch" ' git submodule update --remote popd -- cgit v1.2.3-55-g7522