Skip to content

Commit

Permalink
always use python3-vcstool (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannik Abbenseth authored May 12, 2020
1 parent 473edf8 commit 52ac295
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions industrial_ci/src/workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function ici_import_repository {
local sourcespace=$1; shift
local url=$1; shift

ici_install_pkgs_for_command vcs "${PYTHON_VERSION_NAME}-vcstool"
ici_install_pkgs_for_command vcs python3-vcstool

IFS=" " read -r -a parts <<< "$(ici_resolve_scheme "$url")" # name, type, url, version

Expand All @@ -111,7 +111,7 @@ function ici_import_file {
bsdtar -C "$sourcespace" -xf "$file"
;;
*)
ici_install_pkgs_for_command vcs "${PYTHON_VERSION_NAME}-vcstool"
ici_install_pkgs_for_command vcs python3-vcstool
ici_setup_git_client
ici_vcs_import "$sourcespace" < "$file"
;;
Expand All @@ -132,7 +132,7 @@ function ici_import_url {
processor=(bsdtar -C "$sourcespace" -xf-)
;;
*)
ici_install_pkgs_for_command vcs "${PYTHON_VERSION_NAME}-vcstool"
ici_install_pkgs_for_command vcs python3-vcstool
ici_setup_git_client
processor=(ici_vcs_import "$sourcespace")
;;
Expand Down

0 comments on commit 52ac295

Please sign in to comment.