1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#! /usr/bin/env sh readonly BASEDIR=$(CDPATH="" cd -- "$(dirname -- "$0")/.." && pwd -P) main() { if [ -z "$1" ] then usage exit 1 fi cd -- "$BASEDIR" make -f tools/star/Makefile all VERSION="$1" make -f tools/star/Makefile release VERSION="$1" } usage() { print "NYI" } main "$@"