diff options
| author | PS <p@0x53.net> | 2026-02-28 17:44:25 +0100 |
|---|---|---|
| committer | PS <p@0x53.net> | 2026-02-28 17:44:25 +0100 |
| commit | af5234ec0016bacf395b6d32d005d3d3e91157e2 (patch) | |
| tree | f4fd3ae6ed4ed18698687372100b6e0f7af9e3dc | |
| parent | bd4c5085ed50a865d86d341c3d9b9ff7323a472a (diff) | |
| download | goetia-base-af5234ec0016bacf395b6d32d005d3d3e91157e2.tar.gz goetia-base-af5234ec0016bacf395b6d32d005d3d3e91157e2.tar.bz2 goetia-base-af5234ec0016bacf395b6d32d005d3d3e91157e2.zip | |
Actually fix compile-db
| -rwxr-xr-x | src/bin/compile-db | 3 |
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} |
