Popper can't manage symbolic links

Bug #772801 reported by Holger63
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Popper
Fix Released
Low
Pa_trick17

Bug Description

I create symbolic links in /usr/local/bin to start Popper(-configuration) without full pathname. But the start fails because Popper can't find his program-directory. The problem is the changedir-command in popper.sh and popper_config.sh:
--------------------------------------------------
cd `dirname $0`
--------------------------------------------------

This should changed to something like
--------------------------------------------------
cd $(dirname $(readlink -f $0))
--------------------------------------------------
Readlink follows every symlink until the original source is reached.

Related branches

Revision history for this message
tuxxer (tuxxer) wrote :

error and solution reproduced

Revision history for this message
Ralf Hersel (ralf.hersel) wrote :

To be fixed in version 0.29

Changed in popper:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Pa_trick17 (trick17)
Revision history for this message
Pa_trick17 (trick17) wrote :

Patch committed in Revision 25 -> http://bazaar.launchpad.net/~popperteam/popper/dev/revision/25

Thank you very much for reporting and patching, Holger.

Cheers

Pa_trick17

Changed in popper:
status: Confirmed → Fix Committed
Pa_trick17 (trick17)
Changed in popper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.