Hi,
I have automated a build process that does the following activities.
1. check out code from cvs to a specific directory
2. build the revision checked out with 'ANT'
3. integrate the compiled code with the QA/UAT or new environment
(/apps/QA or /apps/UAT or /apps/new directory)
I have separated this into two scripts. The first one does steps 1 and 2 and then calls number 3. The reason that they are separated is that based on permissions steps 1 and 2 can be done only by and individual id while step 3 has to be done by the build user account that owns the integrated environments.
Here is the problem. I made the process interactive using 'select' contructs to allow the user to select different options. After steps 1 and 2 are completed I am executing and 'su' to switch to the build id to integrate the compiled code. However there are options in the second script also. For some reason when I 'su' the shell goes into an infinite loop when I prompt the user for feedback in the second script. It doesn't wait for response. I this the behavior of 'SU'? Is there any way around this? Thank you.
Here's how I su over in the script:
This User Gave Thanks to yoi2hot4ya For This Post:
Hi guys,
I am thanks in advance for any posts and for reading. I am trying to run this script, under solaris:
echo "****************************************"
echo "The host is: "
echo "****************************************"
<<EOF find /etc/default -name login -exec ls -l {} \;
find... (5 Replies)
Hi guys,
Been sifting through these forums for awhile, but never had an account or needed to post. Shoutouts to a great forum with heaps of useful info.
Now i consider myself a noob when it comes to linux and to bash scripting. I recently started to learn to use Vmware ESX server which uses... (4 Replies)
what the heck am I doing wrong? Im trying to install bastille and i keep getting errors.
# cd -
/var/spool/sw
# ls
B6849AA_B.02.01.03.depot catalog swagent.log var
# swinstall -s /var/spool/sw B6849AA
======= 10/04/07 09:47:43 EDT BEGIN swinstall... (4 Replies)
I tried to compile php and integrate it into apache on solaris.
It compiled ok and I created a package. If I install it on a system that has the libpng from sunfreeware, it wants to use that library instead of the system SUNWpng. It doesn't run using SMCpng, but it runs using the system SUNWpng.... (4 Replies)
Hi,
I tried to migrate a server, I installed AIX on a new server and I want to configure the printer queues. I copied all of files from the old server where the printer queues are working fine. I followed these steps:
1. copy the /etc/qconfig (make a copy of the original before)
2. Copy the... (10 Replies)
Here is a snippet of code that work for me:
expect "abc" {send_log "abc found" } \
"def" {send_log "def found" } \
"123" {send_log "123 found}
however the following does not and according to the book "Exploring Expect" it should be equivalent:
expect { "abc"... (1 Reply)
We are using the solaris server and if i am using rm -rf to delete the directories its asking the confirmation for each and every file inside the directory.Is there any way to disable ( should not ask the confirmation) only for a particular session? (12 Replies)
Hi,
I do have a very simple task to divide 2 variables and display the result.
I CANNOT use bc
when i try
var1=2
var2=4
var3=$(($var1 / $var2))
echo $var3
the output is always 0
What can I change to get a dotted decimal result such as 0.5 ?
Thanks! (5 Replies)
I am converting English letters/words/punctuation in leet speak. My current script works just fine, but when I call the functions it seem to be bypassing my second function altogether. I am new to shell scripting so excuse me if its an easy fix.
Also, when using SED for whole word phrases like... (4 Replies)
Discussion started by: bri09
4 Replies
LEARN ABOUT DEBIAN
ae-cvs-ci
ae-cvs-ci(1)ae-cvs-ci(1)NAME
ae-cvs-ci - checkin a change set to CVS
SYNOPSIS
ae-cvs-ci project-name change-number
DESCRIPTION
The ae-cvs-ci command is used to check an Aegis change set into CVS.
This script is a short wrapper around the ae-repo-ci(1) command.
This is usually used in the integrate pass notify command project attribute, as in
integrate_pass_notify_command =
"$bin/ae-cvs-ci $project $change";
EXIT STATUS
The ae-cvs-ci command will exit with a status of 1 on any error. The ae-cvs-ci command will only exit with a status of 0 if there are no
errors.
ENVIRONMENT VARIABLES
See aegis(1) for a list of environment variables which may affect this command. See aepconf(5) for the project configuration file's
project_specific field for how to set environment variables for all commands executed by Aegis.
COPYRIGHT
ae-cvs-ci version 4.24.3.D001
Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Peter
Miller
The ae-cvs-ci program comes with ABSOLUTELY NO WARRANTY; for details use the 'ae-cvs-ci -VERSion License' command. This is free software
and you are welcome to redistribute it under certain conditions; for details use the 'ae-cvs-ci -VERSion License' command.
AUTHOR
Peter Miller E-Mail: millerp@canb.auug.org.au
//* WWW: http://www.canb.auug.org.au/~millerp/
Reference Manual Aegis ae-cvs-ci(1)