Welcome to mirror list, hosted at ThFree Co, Russian Federation.

release-hook-post-linux.sh - github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e97e274a8efeec7105a59987c03d124396a7d36e (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

# Se https://github.com/gohugoio/hugo/issues/8955
objdump -T dist/hugo_extended_linux_linux_amd64/hugo | grep -E -q 'GLIBC_2.2[0-9]'
RESULT=$?
if [ $RESULT -eq 0 ]; then
    echo "Found  GLIBC_2.2x in Linux binary, this will not work in older Vercel/Netlify images.";
    exit -1;
fi