awips2/tools/devAutoDeploy/HudsonScripts/awips2-rpm-archive.sh
root e2ecdcfe33 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: a02aeb236c [formerly 9f19e3f712] [formerly a02aeb236c [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 8e80217e59 [formerly 3360eb6c5f]
Former-commit-id: 377dcd10b9
2012-01-06 08:55:05 -06:00

32 lines
1.1 KiB
Bash

#!/bin/bash -x
#----------------------------------------------------------------------
# Automated archive script. Archives the rpms from the last rpm build.
#
# Usage:
# awips2-rpm-archive.sh [share]
#----------------------------------------------------------------------
# Args:
# $1 :: location of directory containing packages and output location
# default: /share1
#
# Note: all args are optional.
#----------------------------------------------------------------------
# Limitations:
# 1) This script is designed to be executed by Hudson -- it may need
# modification to run with another auto build system
#----------------------------------------------------------------------
#-- set defaults for arguments
#----------------------------------------------------------------------
#-- share1 location -- will be arg $1
#-- (allows using different packages archive and output directory)
SHARE1=/share1
#----------------------------------------------------------------------
#-- decode the command line
#----------------------------------------------------------------------
if [ -n "${1}" ];then
SHARE1=${1}
fi