Skip to content

Commit f11581c

Browse files
committed
Get the current working dir with pwd in install script.
1 parent 0c03b12 commit f11581c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 ./ /opt/codebender/$PACKAGENAME
41+
sudo cp -r `pwd` /opt/codebender/$PACKAGENAME
4242
sudo chown -R `whoami`:$HTTPDUSER /opt/codebender/$PACKAGENAME
4343
cd /opt/codebender/$PACKAGENAME
4444

0 commit comments

Comments
 (0)