aboutsummaryrefslogtreecommitdiffstats
path: root/setup.sh.in
blob: a37a691592b9884818c4a0026b23fa1a44b15e4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/sh
# This source code is released into the public domain.

# Parse command-line arguments.
args=$(getopt y $*)
if [ $? -ne 0 ]; then
	exit 1
fi
set -- $args

_uacme_flags=""

while :; do
	case "$1" in
	-y)
		_uacme_flags="$_uacme_flags $1"
		shift;;
	--)
		shift; break;;
	esac
done

# Run uacme.
mkdir -p "$_UACME_DIR"
_uacme $_uacme_flags new