Skip to content

Commit

Permalink
regen.sh: fetch remotes before checking out
Browse files Browse the repository at this point in the history
  • Loading branch information
infinity0 committed Jul 14, 2024
1 parent 4aa0d3a commit 02b87b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strict-containers/regen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ shopt -s nullglob globstar
ensure_checkout() {
local pkg="$1"
local ver="$2"
( cd ../contrib/"$pkg" && git checkout "$ver" )
( cd ../contrib/"$pkg" && git fetch --all --tags && git checkout "$ver" )
echo " * $pkg $ver" >> "$VERSIONS_CABAL"
}

Expand Down

0 comments on commit 02b87b1

Please sign in to comment.