Skip to content

Commit 8ccf254

Browse files
committed
DEVOPS: Review fixes
1 parent f7784e4 commit 8ccf254

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/itkdev-docker-compose

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ EOF
105105
fi
106106
}
107107

108-
function enabledNFS {
108+
function enableNFS {
109109
echo "Setting up nfs..."
110110
U=`id -u`
111111
G=`id -g`
112112

113-
LINE="/Users -alldirs -mapall=$U:$G localhost"
113+
LINE="/System/Volumes/Data/Users -alldirs -mapall=$U:$G localhost"
114114
FILE=/etc/exports
115115
sudo touch $FILE
116116
grep -qF -- "$LINE" "$FILE" || sudo echo "$LINE" | sudo tee -a $FILE > /dev/null
@@ -268,7 +268,7 @@ fi
268268

269269
# Allow enabled NFS without existence of docker-compose.yml.
270270
if [[ "$1" == "nfs:enable" ]]; then
271-
enabledNFS
271+
enableNFS
272272
exit
273273
fi
274274

0 commit comments

Comments
 (0)