Merge pull request #6 from didactic-drunk/docker_bugfix

Docker bugfix #3.
This commit is contained in:
didactic-drunk 2020-05-11 11:15:51 -07:00 committed by GitHub
commit 7155cee26c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ set -e
# Shard directory passed as first argument when called from lib_sodium.cr
[ ! -z "$1" ] && cd "$1"
./build/libsodium_install.sh > libsodium_install.out 2>&1
./build/libsodium_install.sh > libsodium_install.out 2>&1 || (cat libsodium_install.out >&2 ; exit 2)
. ./build/env.sh

View File

@ -11,3 +11,5 @@ targets:
libraries:
libsodium: ">= 1.0.18"
license: MIT
scripts:
postinstall: ./build/libsodium_install.sh