summaryrefslogtreecommitdiffstats
path: root/scripts/core-upgrade.sh
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2013-05-05 15:04:11 -0400
committerEndi Sukma Dewata <edewata@redhat.com>2013-05-05 15:05:23 -0400
commit2320d009b917349b5eb2435c0823ab6f309d349f (patch)
treefffd236d342e6cdc778f89f819952986fae2e123 /scripts/core-upgrade.sh
parentdbd722371a29009a392f8851c8979f8481272938 (diff)
downloadpki-dev-2320d009b917349b5eb2435c0823ab6f309d349f.tar.gz
pki-dev-2320d009b917349b5eb2435c0823ab6f309d349f.tar.xz
pki-dev-2320d009b917349b5eb2435c0823ab6f309d349f.zip
Added new scripts.
Diffstat (limited to 'scripts/core-upgrade.sh')
-rwxr-xr-xscripts/core-upgrade.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/core-upgrade.sh b/scripts/core-upgrade.sh
new file mode 100755
index 0000000..8f65392
--- /dev/null
+++ b/scripts/core-upgrade.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -x
+
+WORK_DIR=`pwd`
+PROJECT_DIR=`cd ../.. ; pwd`
+COMPONENT=core
+
+cd $WORK_DIR/build/$COMPONENT/repo
+
+rpm -Uvh *.rpm