COPYFILE_DISABLE=1: macOS xattr-Warnungen bei tar unterdrücken
This commit is contained in:
parent
3547715555
commit
569816d9a4
2 changed files with 3 additions and 3 deletions
4
Makefile
4
Makefile
|
|
@ -71,7 +71,7 @@ deploy: check-ssh
|
|||
@echo "→ Git push (Backup)..."
|
||||
@git push $(GIT_REMOTE) main
|
||||
@echo "→ Sync zu DS..."
|
||||
@tar czf - $(TAR_EXCLUDE) . | ssh $(DS_HOST) "tar xzf - -C $(DS_PATH)/"
|
||||
@COPYFILE_DISABLE=1 tar czf - $(TAR_EXCLUDE) . | ssh $(DS_HOST) "tar xzf - -C $(DS_PATH)/"
|
||||
@echo "→ Docker rebuild + restart..."
|
||||
@ssh $(DS_HOST) " \
|
||||
cd $(DS_PATH) && \
|
||||
|
|
@ -89,7 +89,7 @@ deploy: check-ssh
|
|||
# ----------------------------------------------------------
|
||||
sync: check-ssh
|
||||
@echo "→ Sync zu DS..."
|
||||
@tar czf - $(TAR_EXCLUDE) . | ssh $(DS_HOST) "tar xzf - -C $(DS_PATH)/"
|
||||
@COPYFILE_DISABLE=1 tar czf - $(TAR_EXCLUDE) . | ssh $(DS_HOST) "tar xzf - -C $(DS_PATH)/"
|
||||
@echo " ✓ Sync fertig."
|
||||
|
||||
# ----------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue