aboutsummaryrefslogtreecommitdiff
path: root/turbo.scm
diff options
context:
space:
mode:
Diffstat (limited to 'turbo.scm')
-rw-r--r--turbo.scm6
1 files 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))