mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-09-07 18:33:52 +02:00
run-lts.sh: Usage help
This commit is contained in:
parent
1d89371a64
commit
1f15d4f6c0
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
|
if [ -z "$1" ];
|
||||||
|
echo "Usage: $0 lts-X.Y"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
git pull
|
git pull
|
||||||
LOG_FILE="logs/$1-build-$(date -u +%F+%T).log"
|
LOG_FILE="logs/$1-build-$(date -u +%F+%T).log"
|
||||||
if [ -L $1-build.log ]; then
|
if [ -L $1-build.log ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user