Package: nsis
Version: 2.46-7
Severity: normal

I have an nsis file that refers to files using relative referencing, eg
eg:

----
!insertmacro MUI_PAGE_LICENSE "COPYING"
----

However if I place my .nsi file outside of the base directory for my project

eg: 
----
/home/user/project/folder/project.nsi
----

and use a symlink to link the project:
----
/home/user/project/project.nsi -> /home/user/project/folder/project.nsi
----

then makensis fails on the call open("COPYING",READ_ONLY), emitting:

----
LicenseData: open failed "COPYING"
----

If i replace the symlink with a copy of the file, then the script succeeds. 

makensis should not attempt to obtain the working directory from the symlink or 
its target, but should use the actual cwd.


-- System Information:
Debian Release: 6.0.6
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nsis depends on:
ii  libc6                    2.13-38         Embedded GNU C Library: Shared lib
ii  libgcc1                  1:4.7.2-5       GCC support library
ii  libstdc++6               4.7.2-5         GNU Standard C++ Library v3
ii  nsis-common              2.46-7          Nullsoft Scriptable Install System
ii  zlib1g                   1:1.2.7.dfsg-13 compression library - runtime

nsis recommends no packages.

Versions of packages nsis suggests:
pn  mingw-w64                     <none>     (no description available)
pn  nsis-doc                      <none>     (no description available)
pn  nsis-pluginapi                <none>     (no description available)
ii  wine                          1.4.1-4    Windows API implementation - stand

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to