diff options
| -rwxr-xr-x | builder/build-initramfs.sh | 4 |
1 files 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 |
