File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5454# Change materialization strategy for nfs
5555if [ " $PROJECT_MOUNT " == " nfs" ] && [ " $PROJECT_MOUNT_PATH " != " app" ]; then
5656 if [ -f " ${PROJECT_PATH} /.git/config" ]; then
57- git --git-dir " $PROJECT_PATH " /.git update-index --assume-unchanged app/etc/di.xml
57+ sudo -u vagrant git --git-dir " $PROJECT_PATH " /.git update-index --assume-unchanged app/etc/di.xml
5858 fi
5959 sudo -u vagrant sed -i ' s/<item name="view_preprocessed" xsi:type="object">Magento\\\Framework\\\App\\\View\\\Asset\\\MaterializationStrategy\\\Symlink/<item name="view_preprocessed" xsi:type="object">Magento\\\Framework\\\App\\\View\\\Asset\\\MaterializationStrategy\\\Copy/' " $PROJECT_PATH " /app/etc/di.xml
6060fi
108108
109109# Get config from source project
110110if [ " $PROJECT_SOURCE " != " composer" ]; then
111- git --git-dir " $PROJECT_PATH " /. git checkout app/etc/config.php
111+ cd $PROJECT_PATH ; sudo -u vagrant git checkout app/etc/config.php
112112fi
113113
114114# Clean compiled files
You can’t perform that action at this time.
0 commit comments