Scripts behavior



Execute a script on the file but the directory the script is being
executed in is actually the $HOME dir and not the `pwd` where you happen
to be looking in Nautilus.

I changed most of my scripts to parse the real_dir from
$NAUTILUS_SCRIPT_URI and then cd into that directory before executing
commands on the input files.  

I noticed the bug on this already but I made some changes to my own
scripts to account for this behavior and I wondered if I made all these
changes for nothing since this would soon be fixed as a bug.

Should I look into changing all my scripts back?  Or will this be the
default behavior for scripts in the future?  


-- 
Johnathan Bailes <johnathan bailes esi baesystems com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]