diff options
author | Erich Eckner <git@eckner.net> | 2020-02-18 09:24:15 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-18 09:24:15 +0100 |
commit | 114aed2a8d54c93eeac1d28c4d3e9c3db64306df (patch) | |
tree | 3a5324dc5bca8e29d390ffa1d0807b19bc9c9f1c | |
parent | fbb92398cc71d774418457ac85d312f6f71137fc (diff) | |
download | archlinuxewe-114aed2a8d54c93eeac1d28c4d3e9c3db64306df.tar.xz |
update-submodule: fix parameter parsing
-rwxr-xr-x | update-submodule | 8 |
1 files changed, 3 insertions, 5 deletions
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} }" |