| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #869
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | "local" fltk-config can't cope with symlinks |
Version: | 1.1-current |
Created By: | ianmacarthur |
Assigned To: | mike |
Fix Version: | 1.1-current (SVN: v4477) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | ianmacarthur 13:13 May 17, 2005 |
| If fltk-config is invoked from a "local" directory, but via a symlink, the "selfdir" variable gets the dir of the symlink *not* of the actual local installation.
Something like this might be better, as this will try and resolve the actual location of the fltk-config script, rather than the link itself...
selfdir=`readlink $0`
if test -n "$selfdir"; then selfdir=`dirname $selfdir` else selfdir=`dirname $0` fi
# echo $selfdir
-- Ian | |
|
#2 | ianmacarthur 11:00 May 18, 2005 |
| A revised version of this patch is now built in to my fltk-config patch at #868 -- Ian | |
|
#3 | mike 18:09 Aug 07, 2005 |
| Fixed in Subversion repository. | |
[ Return to Bugs & Features ]
|
| |