-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from ot4i/12.0.3.0-r1
12.0.3.0-r1 update
- Loading branch information
Showing
8 changed files
with
376 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,38 @@ | ||
#!/bin/bash | ||
|
||
#Check if any iFix's are to be applied. | ||
# Check if any iFix's are to be applied. | ||
|
||
if [ -z $1 ]; then | ||
echo "No iFix's being used skipping this phase." | ||
exit 0 #No iFix specified | ||
else #Create array of iFix's to loop through by removing commas from input. | ||
exit 0 # No iFix specified | ||
else # Create array of iFix's to loop through by removing commas from input. | ||
IFIX_LIST_ARRAY=$(echo $1 | tr ',' ' ') | ||
echo "iFix's being applied: ${IFIX_LIST_ARRAY}" | ||
fi | ||
|
||
for ifixlink in $IFIX_LIST_ARRAY | ||
for ifixlink in $IFIX_LIST_ARRAY | ||
do | ||
#Make temporary fix directory | ||
mkdir ./fix | ||
cd fix | ||
#Download and unzip iFix tar file. | ||
# Make temporary fix directory | ||
mkdir ./fix | ||
cd fix | ||
|
||
# Download and unzip iFix tar file. | ||
curl -Ls $ifixlink | tar -xz | ||
#Execute install command | ||
|
||
# Execute install command | ||
ifixname="${ifixlink##*/}" | ||
ifixname="${ifixname%.tar*}" | ||
ifixname="${ifixname%.tar*}" | ||
|
||
./mqsifixinst.sh /opt/ibm/ace-12 install $ifixname | ||
#Delete directory | ||
|
||
# Delete directory | ||
cd .. | ||
rm -rf ./fix | ||
|
||
rm -rf /opt/ibm/ace-12/fix-backups.12.0.1.0 | ||
rm /opt/ibm/ace-12/mqsifixinst.log | ||
rm /opt/ibm/ace-12/mqsifixinst.sh | ||
|
||
|
||
# We explicitly screen out /tools and TransformationAdvisor, so let's make sure to clean up after any iFixes that put them back | ||
rm -rf /opt/ibm/ace-12/tools /opt/ibm/ace-12/server/bin/TADataCollector.sh /opt/ibm/ace-12/server/transformationAdvisor | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
UPDATEME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.