Sorry, perhaps I didn't explain it clearly enough.  This only happens in
~/Desktop, if you copy the same test script to ~/Desktop/test and run
it, you'll get the expected output - '/home/user/Desktop/test'.

I don't know why it only happens on the desktop (ie in the Desktop
folder), but it does.

-- 
scripts running from desktop : $PWD = /home/user
https://bugs.launchpad.net/bugs/103144
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to