aboutsummaryrefslogtreecommitdiffstats
path: root/install.scm
diff options
context:
space:
mode:
Diffstat (limited to 'install.scm')
-rwxr-xr-xinstall.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.scm b/install.scm
index dfb85af..de36b33 100755
--- a/install.scm
+++ b/install.scm
@@ -41,7 +41,7 @@
(define (expand-file f)
;; https://irreal.org/blog/?p=83
- (cond ((char=? (string-ref f 0) #\/) f)
+ (cond ((absolute-file-name? f) f)
((string=? (substring f 0 2) "~/")
(let ((prefix (passwd:dir (getpwuid (geteuid)))))
(string-append prefix (substring f 1 (string-length f)))))