[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-devel] Re: source_path=${0%configure}
From: |
Ken Beesley |
Subject: |
[Qemacs-devel] Re: source_path=${0%configure} |
Date: |
Wed, 30 Apr 2003 15:01:39 +0200 (MEST) |
RE: qemacs configure file problem
Je pense avoir trouvé la solution pour Solaris/SunOS
I think I've found the solution for Solaris/SunOS
# these two lines don't work for my SunOS/Solaris sh
#source_path=${0%configure}
#source_path=${source_path%/}
# substitute lines by Ken Beesley
source_path=`echo $0 | sed -e "s/configure$//"`
source_path=`echo $source_path | sed -e "s/\/$//"`
Ken
> From: address@hidden
> Subject: Qemacs-devel Digest, Vol 4, Issue 3
> To: address@hidden
> X-BeenThere: address@hidden
> X-Mailman-Version: 2.1b5
> List-Id: <qemacs-devel.nongnu.org>
> List-Help: <mailto:address@hidden>
> List-Post: <mailto:address@hidden>
> List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/qemacs-devel>,
<mailto:address@hidden>
> List-Archive: <http://mail.gnu.org/pipermail/qemacs-devel>
> List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/qemacs-devel>,
<mailto:address@hidden>
> Date: Wed, 30 Apr 2003 07:02:01 -0400
> X-Virus-Scanned: by amavisd-new
>
> Send Qemacs-devel mailing list submissions to
> address@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.nongnu.org/mailman/listinfo/qemacs-devel
> or, via email, send a message with subject or body 'help' to
> address@hidden
>
> You can reach the person managing the list at
> address@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qemacs-devel digest..."
>
>
> Today's Topics:
>
> 1. source_path=${0%configure} (Ken Beesley)
>
>
> ----------------------------------------------------------------------
>
> Date: Wed, 30 Apr 2003 12:42:19 +0200 (MEST)
> From: Ken Beesley <address@hidden>
> To: address@hidden
> Subject: [Qemacs-devel] source_path=${0%configure}
> Message-ID: <address@hidden>
> Content-Type: TEXT/plain; charset=ISO-8859-1
> MIME-Version: 1.0
> Content-Transfer-Encoding: QUOTED-PRINTABLE
> Precedence: list
> Reply-To: Ken Beesley <address@hidden>
> Message: 1
>
>
> Je viens de t=E9l=E9charger qemacs-0.3.1 sur mon system (SunOS).
> J'ai essay=E9
>
> =09./configure --help
> =09
> mais mon Bourne shell (sh) n'aime pas la ligne
>
> source_path=3D${0%configure}
>
> et r=E9pond
>
> ./configure: bad substitution
>
> et effectivement, je ne trouve pas de documentation sur
> l'usage de '%' dans une substitution.
>
> Quelle est mon probl=E8me?
>
> ***********
>
> I've just downloaded qemacs-0.3.1 to my SunOS system.
> I tried
>
> =09./configure --help
> =09
> but my Bourne shell (sh) choked on the line
>
> source_path=3D${0%configure}
>
> and returned the message
>
> ./configure: bad substitution
>
> I can't seem to find any documentation on the use of '%'
> in a substitution.
>
> What do I need to do?
>
> Thanks/Merci,
>
> Ken
>
>
> **********************************************************************
> Kenneth R. address@hidden
> Xerox Research Centre Europe Tel from France: 04 76 61 50 64 =09
> 6, chemin de Maupertuis=09=09Tel from Abroad: +33 4 76 61 50 64
> 38240 MEYLAN=09=09=09Fax from France: 04 76 61 50 99
> France=09=09=09=09Fax from Abroad: +33 4 76 61 50 99
>
> XRCE page: http://www.xrce.xerox.com
> Personal page: http://www.xrce.xerox.com/people/beesley/beesley.html
> **********************************************************************
>
>
>
> ------------------------------
>
> _______________________________________________
> Qemacs-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/qemacs-devel
>
>
> End of Qemacs-devel Digest, Vol 4, Issue 3
> ******************************************
**********************************************************************
Kenneth R. Beesley address@hidden
Xerox Research Centre Europe Tel from France: 04 76 61 50 64
6, chemin de Maupertuis Tel from Abroad: +33 4 76 61 50 64
38240 MEYLAN Fax from France: 04 76 61 50 99
France Fax from Abroad: +33 4 76 61 50 99
XRCE page: http://www.xrce.xerox.com
Personal page: http://www.xrce.xerox.com/people/beesley/beesley.html
**********************************************************************
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemacs-devel] Re: source_path=${0%configure},
Ken Beesley <=