Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 10 Oct 2003 23:52:33 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: problem with lilypond-profile.sh Message-ID: <20031011035232.GA20395@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i I don't see this reported anywhere yet, and I'm surprised. Apologies if I just missed something. You have to quote arguments inside [ ] or bad things(tm) happen. In particular, without the below patch, rxvt is unable to run /bin/sh as a login shell and flashes a warning on the screen. Please apply for next lilypond release. cgf --- lilypond-profile.sh~ 2003-10-10 23:46:14.000000000 -0400 +++ lilypond-profile.sh 2003-10-10 23:47:02.000000000 -0400 @@ -19,7 +19,7 @@ return 2 fi -if [ `basename "$0"` = "lilypond-profile" ] ; then +if [ "`basename \"$0\"`" = "lilypond-profile" ] ; then cat >/dev/stderr <