Blame Scripts/Bash/Functions/Render/render.sh

4c79b5
#!/bin/bash
4c79b5
#
15b1d2
# render.sh -- This function provides rendition features to
15b1d2
# centos-art.sh script. Here we initialize rendition variables and
4c79b5
# call render_getActions functions.
4c79b5
#
9f5f2e
# Copyright (C) 2009-2011 Alain Reguera Delgado
4c79b5
# 
7cd8e9
# This program is free software; you can redistribute it and/or
7cd8e9
# modify it under the terms of the GNU General Public License as
7cd8e9
# published by the Free Software Foundation; either version 2 of the
7cd8e9
# License, or (at your option) any later version.
4c79b5
# 
4c79b5
# This program is distributed in the hope that it will be useful, but
4c79b5
# WITHOUT ANY WARRANTY; without even the implied warranty of
4c79b5
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4c79b5
# General Public License for more details.
4c79b5
#
4c79b5
# You should have received a copy of the GNU General Public License
4c79b5
# along with this program; if not, write to the Free Software
4c79b5
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
4c79b5
# USA.
4c79b5
# 
4c79b5
# ----------------------------------------------------------------------
418249
# $Id$
4c79b5
# ----------------------------------------------------------------------
4c79b5
4c79b5
function render {
4c79b5
15b1d2
    # Define default value to target flag. The target flag (--to)
15b1d2
    # controls final destination used by copy related actions.
15b1d2
    local FLAG_TO=''
15b1d2
a8af39
    # Define release number flag. The relesase number flag (--release)
a8af39
    # specifies the release number identity images are rendered for.
c9f7fa
    # By default no release number is used.
a8af39
    local FLAG_RELEASE=''
a8af39
c9f7fa
    # Define architecture flag. The architecture flag (--architecture)
c9f7fa
    # specifies the architecture type identity images are rendered
c9f7fa
    # for.  By default no architecture type is used.
c9f7fa
    local FLAG_ARCHITECTURE=''
c9f7fa
15b1d2
    # Define rendition actions.
4c79b5
    render_getActions
4c79b5
4c79b5
}