From bd4c5085ed50a865d86d341c3d9b9ff7323a472a Mon Sep 17 00:00:00 2001 From: PS Date: Sun, 22 Feb 2026 14:06:30 +0100 Subject: Fix compile-db --- src/bin/compile-db | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bin') diff --git a/src/bin/compile-db b/src/bin/compile-db index 22b63b4..027609f 100755 --- a/src/bin/compile-db +++ b/src/bin/compile-db @@ -7,7 +7,7 @@ multisubstitute { define LIVEDIR ${2} } -backtick -ED" " OLDDB { realpath ${CONFIGDIR}/compiled } +backtick -ED" " OLDDB { realpath -e ${CONFIGDIR}/compiled } backtick -E DATE { date +%s } elglob SOURCES ${CONFIGDIR}/src/* @@ -21,7 +21,7 @@ if { exit 1 } -if { ln -sf compiled-${DATE} ${CONFIGDIR}/compiled/compiled } -if { mv -f ${CONFIGDIR}/compiled/compiled ${CONFIGDIR}/ } +if { ln -sf compiled-${DATE} ${CONFIGDIR}/../compiled } +if { mv -f ${CONFIGDIR}/../compiled ${CONFIGDIR}/ } rm -Rf ${OLDDB} -- cgit v1.2.3