Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire]getting error in this code, why?

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: nealbirch <nealbirch AT attbi.com>
  • To: eschabell AT sourcemage.org
  • Cc: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]getting error in this code, why?
  • Date: Sat, 26 Oct 2002 22:35:42 -0400

Eric Schabell wrote:
Howdy all, need your help:

Can someone tell me why this is giving me the following error when I execute (see code below): ./POST_INSTALL: line 19: syntax error: unexpected end of file ***********************code below******************************************** samba_test=$(grep "mkdir /var/run/samba" /etc/init.d/bootmisc.sh) if [ ! -n "$samba_test" ]; then cat >> /etc/init.d/bootmisc.sh <<EOF # added for samba mkdir /var/run/samba # if needed add the following with correct values # chmod <whatever> /var/run/samba # chown <whomever> /var/run/samba EOF fi *****************************************************************

damned if I know why this works, but it does...

delete the spaces before the final EOF and after.

neal

--
"You can fool some of the people all of the time
--and those are the ones you have to concentrate on!"
GW Bush-- from the N.Y. Times





Archive powered by MHonArc 2.6.24.

Top of Page