[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]
[MPlayer-users] Re: Re: video out on two screens
On Fri, Dec 03, 2004 at 08:38:28PM +0100, Ulrich Schweitzer wrote:
> If you intend to distribute it, I suggest you put in
> PWD=`pwd`
> and
> cd $PWD
> as first and last lines, respectively. It is very bad form for a script to
> return in a different dir than the on it was called from. Otherwise
> people might nuke their system by calling something like
> mplmult.sh && cd .. && rm -rf *
only if they are calling it with
. mplmult.sh
and then they deserve it :-)
The script runs in a subshell and wherever you chdir in it, it won't affect
your cwd.
--
Stefan Seyfried
_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/mplayer-users
- Re: [MPlayer-users] Re: video out on two screens, (continued)
- Re: [MPlayer-users] Re: video out on two screens, Andrey Khavryuchenko, 2004/12/01
- [MPlayer-users] Re: video out on two screens, Andrey Khavryuchenko, 2004/12/01
- Re: [MPlayer-users] Re: video out on two screens, Reimar Döffinger, 2004/12/01
- [MPlayer-users] Re: video out on two screens, Andrey Khavryuchenko, 2004/12/01
- Re: [MPlayer-users] Re: video out on two screens, Ulrich Schweitzer, 2004/12/03
- Re: [MPlayer-users] Re: video out on two screens, Reimar Döffinger, 2004/12/03
- Re: [MPlayer-users] Re: video out on two screens, Ulrich Schweitzer, 2004/12/03
- Re: [MPlayer-users] Re: video out on two screens, Reimar Döffinger, 2004/12/03
- Re: [MPlayer-users] Re: video out on two screens, Martin Simmons, 2004/12/04
- Re: [MPlayer-users] Re: video out on two screens, D Richard Felker III, 2004/12/05
- [MPlayer-users] Re: Re: video out on two screens,
Stefan Seyfried <=