summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortorben2016-02-09 22:03:52 +0100
committertorben2016-02-09 22:03:52 +0100
commit0922dc10ff00601fbec6a8bb6519e2968461ba0a (patch)
treeca5aa24136a63b8f2c2da174cea0819ffd79a911
parentMerge branch 'master' of git.openslx.org:openslx-ng/systemd-init (diff)
downloadsystemd-init-0922dc10ff00601fbec6a8bb6519e2968461ba0a.tar.gz
systemd-init-0922dc10ff00601fbec6a8bb6519e2968461ba0a.tar.xz
systemd-init-0922dc10ff00601fbec6a8bb6519e2968461ba0a.zip
Fix.
-rwxr-xr-xbuilder/build-initramfs.sh4
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