summaryrefslogtreecommitdiffstats
path: root/makesrc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'makesrc.sh')
-rwxr-xr-xmakesrc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/makesrc.sh b/makesrc.sh
index 327123d..c0e118c 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -16,10 +16,10 @@ echo "Getting commit..."
pushd $PROJECT-$COMMIT
git checkout $COMMIT || exit 1
- cp
+ cp composer.json vendor/composer/installed.json ../
+ sed -e 's/"config": {/"config": {"platform": {"php": "7.4.0"},/' -i composer.json
composer install --no-dev --optimize-autoloader
- cp composer.json vendor/composer/installed.json ../
mkdir data
cp ${HOME}/.cache/bartlett/compatinfo-db.sqlite data