From 5ed6ac15f885e4ac8bcf7e92e2c1228c5a5e0881 Mon Sep 17 00:00:00 2001 From: Rupus Reinefjord Date: Mon, 10 Mar 2025 18:37:16 +0100 Subject: [PATCH] fix deploy script for files with non-ascii characters --- deploy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy b/deploy index aefd50f..283f3d0 100755 --- a/deploy +++ b/deploy @@ -1,4 +1,3 @@ #!/bin/bash -IFS=$'\n' -rsync -Rtzvr --delete $(git ls-files public) root@$1:/var/www/reinefjord.net-v3/ +rsync -Rtzvr --delete $(git ls-files -z public | xargs -0 | paste -d ' ' -s -) root@$1:/var/www/reinefjord.net-v3/