Project

General

Profile

« Previous | Next » 

Revision 1f6d1861

Added by Renato Botelho almost 8 years ago

Fix -U option

View differences:

tools/build_snapshots.sh
19 19
# limitations under the License.
20 20

  
21 21
usage() {
22
	echo "Usage: $(basename $0) [-l] [-n] [-r] [-u] [-p]"
22
	echo "Usage: $(basename $0) [-l] [-n] [-r] [-U] [-p]"
23 23
	echo "	-l: Build looped operations"
24 24
	echo "	-n: Do not build images, only core pkg repo"
25 25
	echo "	-p: Update poudriere repo"
......
37 37
POUDRIERE_SNAPSHOTS=""
38 38

  
39 39
# Handle command line arguments
40
while getopts lnpru opt; do
40
while getopts lnprU opt; do
41 41
	case ${opt} in
42 42
		n)
43 43
			IMAGES="none"
......
51 51
		r)
52 52
			NO_RESET=1
53 53
			;;
54
		u)
54
		U)
55 55
			UPLOAD="-U"
56 56
			;;
57 57
		*)

Also available in: Unified diff