Skip to content

Commit 659838c

Browse files
committed
finding gitmodules
1 parent a697215 commit 659838c

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

scripts/fetch_and_build_deb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ if [ -z "${pkglatest}" ]; then
8888
exit $noinput
8989
fi
9090

91-
echo "header=\"Authorization: Bearer ${GITHUB_TOKEN}\"" > ~/.curlrc
91+
echo "header=\"Authorization: token ${GITHUB_TOKEN}\"" > ~/.curlrc
9292
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
9393

9494
export NAME
@@ -162,6 +162,9 @@ curl -sL "https://api.github.com/repos/${repopath}/tarball/${gitsha}" \
162162
mkdir -p "${packagepath}"
163163
tar xf "${tarballpath}" -C "${packagepath}" --strip-components 1
164164

165+
echo "DEBUG: .gitmodules present?"; ls -la "${packagepath}/.gitmodules" || true
166+
echo "DEBUG: first 50 lines of .gitmodules:"; sed -n '1,50p' "${packagepath}/.gitmodules" || true
167+
165168
# git metadata needs to be setup to initialize submodules
166169
# in repos which rely on git submodules
167170
if [[ -f "${packagepath}/.gitmodules" ]]; then

scripts/fetch_and_build_pgxn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if [ -z "${pkglatest}" ]; then
5050
exit $noinput
5151
fi
5252

53-
echo "header=\"Authorization: Bearer ${GITHUB_TOKEN}\"" > ~/.curlrc
53+
echo "header=\"Authorization: token ${GITHUB_TOKEN}\"" > ~/.curlrc
5454
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
5555

5656
cp -R /buildfiles/META.json "${builddir}"

scripts/fetch_and_build_rpm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ if [ -z "${pkglatest}" ]; then
8181
exit $noinput
8282
fi
8383

84-
echo "header=\"Authorization: Bearer ${GITHUB_TOKEN}\"" > ~/.curlrc
84+
echo "header=\"Authorization: token ${GITHUB_TOKEN}\"" > ~/.curlrc
8585
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
8686

8787
name=$(determine_name)

0 commit comments

Comments
 (0)