Docker bugfix #3.

This commit is contained in:
Didactic Drunk 2020-05-11 08:48:49 -07:00
parent 9a164a0be0
commit 57f6467e08
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 # Shard directory passed as first argument when called from lib_sodium.cr
[ ! -z "$1" ] && cd "$1" [ ! -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 . ./build/env.sh

View File

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