summaryrefslogtreecommitdiffstats
path: root/components/congress/test-webapp/setup
diff options
context:
space:
mode:
Diffstat (limited to 'components/congress/test-webapp/setup')
-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