mirror of
https://github.com/0x5eal/terracotta.git
synced 2024-12-13 05:00:37 +00:00
14 lines
254 B
Text
14 lines
254 B
Text
|
#!/bin/bash
|
||
|
|
||
|
lune=$(which lune)
|
||
|
|
||
|
if (( $(lune --version | cut -d ' ' -f 2 | cut -d '.' -f 2) >= 8 )); then
|
||
|
if compgen -G "$1*" > /dev/null || compgen -G ".lune/$1*" > /dev/null; then
|
||
|
lune run "$@"
|
||
|
exit $?
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
lune "$@"
|
||
|
exit $?
|