Skip to content

Commit c3f527e

Browse files
committed
Undid last commit and changed permissions of install script before execution.
1 parent f11581c commit c3f527e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
before_script:
1616
# - mysql -u root -e "UPDATE user SET Password=PASSWORD('hello') WHERE User='root';FLUSH PRIVILEGES;" mysql
1717
# - sudo service mysql restart
18+
- sudo chmod +x Scripts/install.sh
1819
- Scripts/install.sh
1920
- cd /opt/codebender/builder/Symfony
2021
- sudo chmod -R 777 app/cache app/logs

Scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fi
3838
HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
3939

4040
sudo mkdir -p /opt/codebender
41-
sudo cp -r `pwd` /opt/codebender/$PACKAGENAME
41+
sudo cp -r . /opt/codebender/$PACKAGENAME
4242
sudo chown -R `whoami`:$HTTPDUSER /opt/codebender/$PACKAGENAME
4343
cd /opt/codebender/$PACKAGENAME
4444

0 commit comments

Comments
 (0)