diff options
| author | PS <p@0x53.net> | 2026-02-22 14:06:30 +0100 |
|---|---|---|
| committer | PS <p@0x53.net> | 2026-02-22 14:06:30 +0100 |
| commit | bd4c5085ed50a865d86d341c3d9b9ff7323a472a (patch) | |
| tree | 4b00c8a90b1015e9d74bfd455e8910031e715b0f /src/bin | |
| parent | bca4d5c5dfbed09b09217d1f1e555a55853860b0 (diff) | |
| download | goetia-base-bd4c5085ed50a865d86d341c3d9b9ff7323a472a.tar.gz goetia-base-bd4c5085ed50a865d86d341c3d9b9ff7323a472a.tar.bz2 goetia-base-bd4c5085ed50a865d86d341c3d9b9ff7323a472a.zip | |
Fix compile-db
Diffstat (limited to 'src/bin')
| -rwxr-xr-x | src/bin/compile-db | 6 |
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} |
