aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPS <p@0x53.net>2026-02-28 17:44:25 +0100
committerPS <p@0x53.net>2026-02-28 17:44:25 +0100
commitaf5234ec0016bacf395b6d32d005d3d3e91157e2 (patch)
treef4fd3ae6ed4ed18698687372100b6e0f7af9e3dc /src
parentbd4c5085ed50a865d86d341c3d9b9ff7323a472a (diff)
downloadgoetia-base-af5234ec0016bacf395b6d32d005d3d3e91157e2.tar.gz
goetia-base-af5234ec0016bacf395b6d32d005d3d3e91157e2.tar.bz2
goetia-base-af5234ec0016bacf395b6d32d005d3d3e91157e2.zip
Actually fix compile-db
Diffstat (limited to 'src')
-rwxr-xr-xsrc/bin/compile-db3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/compile-db b/src/bin/compile-db
index 027609f..acd3a07 100755
--- a/src/bin/compile-db
+++ b/src/bin/compile-db
@@ -7,7 +7,7 @@ multisubstitute {
define LIVEDIR ${2}
}
-backtick -ED" " OLDDB { realpath -e ${CONFIGDIR}/compiled }
+backtick -ED" " OLDDB { realpath ${CONFIGDIR}/compiled }
backtick -E DATE { date +%s }
elglob SOURCES ${CONFIGDIR}/src/*
@@ -24,4 +24,5 @@ if {
if { ln -sf compiled-${DATE} ${CONFIGDIR}/../compiled }
if { mv -f ${CONFIGDIR}/../compiled ${CONFIGDIR}/ }
+if -x0 { eltest ${CONFIGDIR}/compiled != ${CONFIGDIR}/compiled }
rm -Rf ${OLDDB}