From 8ade3f6ae632117e5382fd40c370c767beda9461 Mon Sep 17 00:00:00 2001 From: Gene Pasquet Date: Sun, 2 Jun 2024 02:34:31 +0100 Subject: Fix asset path definition --- turbo.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/turbo.scm b/turbo.scm index 17f6459..1d0d293 100644 --- a/turbo.scm +++ b/turbo.scm @@ -59,9 +59,9 @@ ;;;; Constants and variables -(define assets-root (if (string=? (getenv "APPDIR") "") - "" - (format #f "~a/usr/share/turbo/" (getenv "APPDIR")))) +(define assets-root (if (getenv "APPDIR") + (format #f "~a/usr/share/turbo/" (getenv "APPDIR")) + "")) (define (asset-path asset) (format #f "~a~a" assets-root asset)) -- cgit v1.2.3