Skip to content

Commit

Permalink
[Template merge] Automatically prepare shared repos for use
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Nov 14, 2023
1 parent 5f468f6 commit f09b47f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ function get_dep_repo() {
echo "Nothing found, cloning $reponame in ../"
gitprotocol=$(git remote get-url origin )
cd "$LANGDIR/../" && git_clone "$reponame" || exit 2
cd "$LANGDIR/../$reponame" && ./autogen.sh && ./configure || exit 2
cd "$LANGDIR" || exit 2
elif test "$repoformat" == "svn" ; then
echo "Nothing found, checking out $reponame in ../"
cd "$LANGDIR/../" && svn_check_out "$reponame" || exit 2
cd "$LANGDIR/../$reponame" && ./autogen.sh && ./configure || exit 2
cd "$LANGDIR" || exit 2
else
echo "ERROR: Not possible to find or get $reponame. Giving up."
Expand Down

0 comments on commit f09b47f

Please sign in to comment.