summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Sullivan <bs3131@att.com>2016-02-10 13:19:11 -0800
committerblsaws <bs3131@att.com>2016-04-01 08:30:07 -0700
commitd535c7d950d2ce4d8b4f34677aece32f5d6f3b85 (patch)
treed6b92b7d89aaa9c382e60cd05d9ced347929985c
parent64e4823ae0eb90010f19a4648dc1814883a002d6 (diff)
Correct small errors.
JIRA: COPPER-2 Change-Id: I36d1313b9dd57efa8c237a469a8f9ea7aa22d95d Signed-off-by: Bryan Sullivan <bs3131@att.com>
-rw-r--r--components/congress/test-webapp/setup/install_congress_testserver_1.sh2
-rw-r--r--components/congress/test-webapp/setup/install_congress_testserver_2.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/congress/test-webapp/setup/install_congress_testserver_1.sh b/components/congress/test-webapp/setup/install_congress_testserver_1.sh
index 2aa4feb..875a49f 100644
--- a/components/congress/test-webapp/setup/install_congress_testserver_1.sh
+++ b/components/congress/test-webapp/setup/install_congress_testserver_1.sh
@@ -44,5 +44,5 @@ echo export COPPER_HOST=$COPPER_HOST >>~/env.sh
scp ~/admin-openrc.sh ubuntu@$COPPER_HOST:/home/ubuntu
scp ~/env.sh ubuntu@$COPPER_HOST:/home/ubuntu
scp ~/git/copper/tests/setup/install_congress_testserver_2.sh ubuntu@$COPPER_HOST:/home/ubuntu
-ssh ubuntu@$COPPER_HOST "~/install_congress_testserver_2.sh; exit"
+ssh ubuntu@$COPPER_HOST "source ~/install_congress_testserver_2.sh; exit"
# </code>
diff --git a/components/congress/test-webapp/setup/install_congress_testserver_2.sh b/components/congress/test-webapp/setup/install_congress_testserver_2.sh
index 6ca08df..0b2e8ff 100644
--- a/components/congress/test-webapp/setup/install_congress_testserver_2.sh
+++ b/components/congress/test-webapp/setup/install_congress_testserver_2.sh
@@ -123,7 +123,7 @@ sudo chmod 755 /var/www/html -R
sudo sed -i -- "s/COPPER_HOST/$COPPER_HOST/g" /var/www/html/copper.js
# Point proxy.php to the Congress server per your install
-sed -i -- "s/CONGRESS_HOST/$CONGRESS_HOST/g" /var/www/html/proxy/index.php
+sudo sed -i -- "s/CONGRESS_HOST/$CONGRESS_HOST/g" /var/www/html/proxy/index.php
# Make webapp log directory and set permissions
mkdir ~/logs