Skip to content

Commit 6d638b3

Browse files
committed
removed the * for files
1 parent 87cfcb0 commit 6d638b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,12 +319,12 @@ set-codebase-owner:
319319
@echo "Setting codebase/ folder owner back to $(shell id -u):101"
320320
if [ -n "$$(docker ps -q -f name=drupal)" ]; then \
321321
echo " └─ Using docker-compose codebase/ directory"; \
322-
docker-compose exec -T drupal with-contenv bash -lc "find . -not -user $(shell id -u) -not -path '*/sites/default/files/*' -exec chown $(shell id -u):101 {} \;" ; \
323-
docker-compose exec -T drupal with-contenv bash -lc "find . -not -group 101 -not -path '*/sites/default/files/*' -exec chown $(shell id -u):101 {} \;" ; \
322+
docker-compose exec -T drupal with-contenv bash -lc "find . -not -user $(shell id -u) -not -path '*/sites/default/files' -exec chown $(shell id -u):101 {} \;" ; \
323+
docker-compose exec -T drupal with-contenv bash -lc "find . -not -group 101 -not -path '*/sites/default/files' -exec chown $(shell id -u):101 {} \;" ; \
324324
elif [ -d "codebase" ]; then \
325325
echo " └─ Using local codebase/ directory"; \
326-
sudo find ./codebase -not -user $(shell id -u) -not -path '*/sites/default/files/*' -exec chown $(shell id -u):101 {} \; ; \
327-
sudo find ./codebase -not -group 101 -not -path '*/sites/default/files/*' -exec chown $(shell id -u):101 {} \; ; \
326+
sudo find ./codebase -not -user $(shell id -u) -not -path '*/sites/default/files' -exec chown $(shell id -u):101 {} \; ; \
327+
sudo find ./codebase -not -group 101 -not -path '*/sites/default/files' -exec chown $(shell id -u):101 {} \; ; \
328328
else \
329329
echo " └─ No codebase/ directory found, skipping"; \
330330
fi

0 commit comments

Comments
 (0)