12 lines
212 B
Plaintext
12 lines
212 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ ! -d /build ]; then
|
||
|
# shellcheck disable=2016
|
||
|
echo 'Please mount your sources in /build by adding "-v $(pwd):/build" to your docker command'
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
cd /build || exit 1
|
||
|
make "$@"
|
||
|
exit $?
|