Debian Developers - Bug#275140: Redirections and noclobber

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > October 2004 > Bug#275140: Redirections and noclobber





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Bug#275140: Redirections and noclobber
Bernd Eckenfels

2004-10-10, 5:54 pm

On Sat, Oct 09, 2004 at 11:05:40PM +0100, Julian Gilbey wrote:
[vbcol=seagreen]
> You should do this carefully:
> if [ -n "$PS1" ]; then
> # set whatever interactive things you want
> fi


Why is the shell invoked by dpkg executing the .bashrc in the first place?
First of all .bashrc is not invoked if you call /bin/sh and neigher

bash ./test.sh

nor

../test.sh


(with test.sh beeing "#!/bin/bash\necho test" and .bashrc = echo bashrc)

is execuring .bashrc

Greetings
Bernd
--
(OO) -- Bernd_Eckenfels@Mörscher_Strasse_8.76185Karlsruhe.de --
( .. ) ecki@{inka.de,linux.de,debian.org} http://www.eckes.org/
o--o 1024D/E383CD7E eckes@IRCNet v:+497211603874 f:+497211606754
(O____O) When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com