Skip to content

Commit

Permalink
Fix box packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Apr 5, 2024
1 parent 65eb8c0 commit 1840b98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dist/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ clean:

sodium-compat.phar: dist/box.json composer.lock
if [ ! -d dist ]; then mkdir dist; fi
if [ ! -f dist/box.json && -f ../box.json ]; then cp ../box.json dist/box.json; fi
if [ ! -f dist/box.json && -f ../dist/box.json ]; then cp ../dist/box.json dist/box.json; fi
if [ ! -f dist/box.json ]; then cp ./box.json dist/box.json; fi
if [ ! -f dist/box.json ]; then cp ../box.json dist/box.json; fi
if [ ! -f dist/box.json ]; then cp ../dist/box.json dist/box.json; fi
if [ ! -f dist/box.json ]; then cp ../../dist/box.json dist/box.json; fi
if [ ! -f dist/box.json ]; then echo "Could not locate box.json" && exit 255; fi
cp dist/box.json .
php -d phar.readonly=0 $(box) build -c box.json -v
Expand Down

0 comments on commit 1840b98

Please sign in to comment.