From a604a0663f612636e2903a77bf85d78d522da441 Mon Sep 17 00:00:00 2001
From: Will Angenent <will.angenent@gmail.com>
Date: Tue, 4 Apr 2023 20:29:04 +0100
Subject: [PATCH] Use more portable -c and -r options to touch

---
 repo.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/repo.sh b/repo.sh
index f85b4da9a..1ca42d998 100755
--- a/repo.sh
+++ b/repo.sh
@@ -48,7 +48,7 @@ do
         fi
 
         # Match pkgar and tar time
-        touch --no-create --reference="${COOKBOOK_STAGE}.tar.gz" "${COOKBOOK_STAGE}.pkgar"
+        touch -c -r "${COOKBOOK_STAGE}.tar.gz" "${COOKBOOK_STAGE}.pkgar"
 
         continue
     fi
-- 
GitLab