aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPS <p@0x53.net>2026-02-22 14:06:30 +0100
committerPS <p@0x53.net>2026-02-22 14:06:30 +0100
commitbd4c5085ed50a865d86d341c3d9b9ff7323a472a (patch)
tree4b00c8a90b1015e9d74bfd455e8910031e715b0f
parentbca4d5c5dfbed09b09217d1f1e555a55853860b0 (diff)
downloadgoetia-base-bd4c5085ed50a865d86d341c3d9b9ff7323a472a.tar.gz
goetia-base-bd4c5085ed50a865d86d341c3d9b9ff7323a472a.tar.bz2
goetia-base-bd4c5085ed50a865d86d341c3d9b9ff7323a472a.zip
Fix compile-db
-rwxr-xr-xsrc/bin/compile-db6
1 files changed, 3 insertions, 3 deletions
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}