appliance: While building don't just check empty arg, check if it was passed
The fix makes systemvmtemplate as the default veewee vbox appliance if not other appliance is provided to be built Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9af338c6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9af338c6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9af338c6 Branch: refs/heads/ui-ntier2 Commit: 9af338c651f2dc21875dc748233aba5b93dc3989 Parents: bc36612 Author: Rohit Yadav <[email protected]> Authored: Tue Mar 12 17:56:43 2013 +0530 Committer: Rohit Yadav <[email protected]> Committed: Tue Mar 12 17:58:15 2013 +0530 ---------------------------------------------------------------------- tools/appliance/build.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9af338c6/tools/appliance/build.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh index d18faaf..f1ee4a6 100644 --- a/tools/appliance/build.sh +++ b/tools/appliance/build.sh @@ -18,7 +18,7 @@ set -x -if [ "$1"!="" ] +if [ ! -z "$1" ] then appliance="$1" else
