Skip to content

Commit e3f77e1

Browse files
committed
Fix PWD for root use
1 parent 0849992 commit e3f77e1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ serve:
1616
docker run --name ${CONTAINER_NAME} --rm -v $(PWD):/app -p 8111:8111 --workdir /app/${PROJECT_NAME} ${IMAGE} serve --bind 0.0.0.0 --port 8111 --baseURL localhost
1717

1818
fix-perms:
19-
find $(PWD) -type d -exec chmod 0777 {} \;
20-
find $(PWD) -type f -exec chmod 0666 {} \;
21-
chmod +x $(PWD)/williamdes.eu/static/export-gpg.sh
19+
find ./-type d -exec chmod 0777 {} \;
20+
find ./-type f -exec chmod 0666 {} \;
21+
chmod +x ./williamdes.eu/static/export-gpg.sh
2222

2323
date:
2424
date +'%Y-%m-%dT%H:%M:%SZ' --utc

0 commit comments

Comments
 (0)