summaryrefslogtreecommitdiff
path: root/update-submodule
diff options
context:
space:
mode:
Diffstat (limited to 'update-submodule')
-rwxr-xr-xupdate-submodule8
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} }"