From 114aed2a8d54c93eeac1d28c4d3e9c3db64306df Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 18 Feb 2020 09:24:15 +0100 Subject: update-submodule: fix parameter parsing --- update-submodule | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'update-submodule') diff --git a/update-submodule b/update-submodule index 3bd04b7a4..e1ea58aa8 100755 --- a/update-submodule +++ b/update-submodule @@ -1,10 +1,8 @@ #!/bin/bash -url="$1" -pkgSrcDir="${url%% *}" -url="${url#${path} }" -submoduleDir="${url%% *}" -url="${url#${path} }" +pkgSrcDir="$1" +submoduleDir="$2" +url="$3" path="${url%% *}" url="${url#${path} }" -- cgit v1.2.3-70-g09d2