ravikumar10 / genyris

Automatically exported from code.google.com/p/genyris
Other
0 stars 0 forks source link

Install4j launcher script 'genyris' mucks up the current directory. #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install on LInux from the debian package
2.
> os!getenv 'PWD'
: 
'/opt/genyris/bin' # String 

What do you see?
Looks like the Install4j script 'genyris' mucks up the PWD. see:

old_pwd=`pwd`

progname=`basename "$0"`
linkdir=`dirname "$0"`

cd "$linkdir"
prg="$progname"

What is the expected output?
Whatever the directory was when the user started the script.

Original issue reported on code.google.com by birchb1...@gmail.com on 28 Apr 2013 at 11:40

GoogleCodeExporter commented 9 years ago

Original comment by birchb1...@gmail.com on 30 Apr 2013 at 7:55

GoogleCodeExporter commented 9 years ago

Original comment by birchb1...@gmail.com on 30 Apr 2013 at 7:56

GoogleCodeExporter commented 9 years ago
Fixed in 0.7.3-5-gcdc047a-1, 

Verified

birchb@asus-u50v:~$ /opt/genyris/bin/genyris 
*** Welcome birchb, Genyris version 0.7.3-5-gcdc047a-1, home /opt/genyris is 
listening...
> os!getenv 'PWD'
: 
'/home/birchb' # String 

Original comment by birchb1...@gmail.com on 11 May 2013 at 5:21