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: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • To: Eric Schabell <eschabell AT sourcemage.org>
  • Cc: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]getting error in this code, why?
  • Date: Sun, 27 Oct 2002 12:58:39 -0500 (EST)

You must have EXACTLY EOF on the line. You can't have a tab or spaces
first.

On Sun, 27 Oct 2002, 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
> *****************************************************************
>
> Eric
>
> _______________________________________________
> SM-Grimoire mailing list
> SM-Grimoire AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-grimoire
>

--


Quidquid latine dictum sit, altum sonatur.
-----------------
PGP public key at
http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x3327A9A5
F1






Archive powered by MHonArc 2.6.24.

Top of Page