Debian Codegraph @

scripts/download-compat-table.sh

raw symbols SCIP
1 #!/bin/bash
2 set -e
3
4 COMPAT_TABLE_COMMIT=9742598c5883018d68885e766840b4c5d7efab8f
5 GIT_HEAD=build/compat-table/.git/HEAD
6
7 if [ -d "build/compat-table" ]; then
8 cd build/compat-table
9 commit="$(git rev-parse HEAD)"
10 cd ../..
11
12 if [ $commit == $COMPAT_TABLE_COMMIT ]; then
13 exit 0
14 fi
15 fi
16
17 rm -rf build/compat-table
18 mkdir -p build
19 git clone --branch=gh-pages --single-branch --shallow-since=2022-05-15 https://github.com/kangax/compat-table.git build/compat-table
20 cd build/compat-table && git checkout -qf $COMPAT_TABLE_COMMIT