From 4480c0a690186d2456974de54909594faf3a19aa Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Tue, 31 Dec 2024 16:07:43 +0100 Subject: [PATCH] Fix stale symlink copying --- mkproj.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkproj.sh b/mkproj.sh index 5a70515..9fdf929 100644 --- a/mkproj.sh +++ b/mkproj.sh @@ -110,7 +110,7 @@ else mkdir -p $proj/src cp $tplroot/Makefile.unified $proj/Makefile cp $tplroot/precomp.hpp $proj/src - cp -Pr $tplroot/tests $proj/ + cp -a $tplroot/tests $proj/ uproj=$(echo $proj | tr '[:lower:]' '[:upper:]') sed -e "s/{PROJECT}/$proj/" -e "s/{PROJ}/$uproj/" $tplroot/version.hpp > $proj/src/version.hpp sed -e "s/{PROJECT}/$proj/" $tplroot/version.cpp > $proj/src/version.cpp