File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ if [ "$#" -gt 0 ]; then
77fi
88
99repo_root=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
10- cd " $repo_root "
1110
1211if [ -n " ${SWIFT_SUBMODULE_DEPLOY_KEY:- } " ]; then
1312 ssh_dir=" $HOME /.ssh"
@@ -19,8 +18,8 @@ if [ -n "${SWIFT_SUBMODULE_DEPLOY_KEY:-}" ]; then
1918 chmod 600 " $key_file "
2019 ssh-keyscan github.com >> " $ssh_dir /known_hosts" 2> /dev/null
2120
22- git config submodule.submodules/swift.url git@github.com:aspose-barcode-cloud/Aspose.BarCode-Cloud-SDK-for-Swift.git
21+ git -C " $repo_root " config --local submodule.submodules/swift.url git@github.com:aspose-barcode-cloud/Aspose.BarCode-Cloud-SDK-for-Swift.git
2322 export GIT_SSH_COMMAND=" ssh -i $key_file -o IdentitiesOnly=yes -o UserKnownHostsFile=$ssh_dir /known_hosts"
2423fi
2524
26- git submodule update " ${submodule_args[@]} "
25+ git -C " $repo_root " submodule update " ${submodule_args[@]} "
You can’t perform that action at this time.
0 commit comments