From 2661085bd134b78342088c533c126d5d430870e6 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 15 Dec 2004 23:44:11 -0500 Subject: [svn-r9676] Purpose: New feature Description: Added the deploy optin. Platforms tested: Tested by hand in heping. --- bin/snapshot | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/bin/snapshot b/bin/snapshot index 6be29be..f2b98c2 100755 --- a/bin/snapshot +++ b/bin/snapshot @@ -82,6 +82,17 @@ while [ $# -gt 0 ] ; do cmddiff="diff" cmd="" ;; + deploy) + shift + if [ $# -lt 1 ]; then + echo "deploy missing" + errcode=1 + cmd="help" + break + fi + cmddeploy="deploy" + DEPLOYDIRNAME="$1" + ;; test) cmdtest="test" cmd="" @@ -188,17 +199,20 @@ if [ "$cmd" = help ]; then set - cat <] [archive ] [dir ] - [op-configure