summaryrefslogtreecommitdiffstats
path: root/ds9/library/backup.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/backup.tcl')
-rw-r--r--ds9/library/backup.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/library/backup.tcl b/ds9/library/backup.tcl
index e57c822..993ad79 100644
--- a/ds9/library/backup.tcl
+++ b/ds9/library/backup.tcl
@@ -397,7 +397,7 @@ proc BackupFrameLoadMMap {varname fdir rdir} {
# look for sym links
switch [file type $fn] {
file {}
- link {set fn [file readlink $fn]}
+ link {set fn [file join [file dirname $fn] [file readlink $fn]]}
default {
return 0
}