[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

RE: [TEKNIK] (t)csh's `` i (ba)sh?



> Kommandoen
> 
>    ispell -vv | grep LIBDIR | cut -d'"' -f2
> 
> giver navnet på det katalog, hvor ispell kigger efter
> ordlisterne, så hvis rpm brugte (t)csh og ikke (ba)sh, ville
> jeg skrive
> 
> set LIBDIR=`ispell -vv | grep LIBDIR | cut -d'"' -f2`
> 
> og dernæst referere til ${LIBDIR} i spec-filen.
> 
> Hvordan gør man dét, når det nu er (ba)sh, som rpm bruger?

Stort set på samme måde. Du fjerner blot "set" så kommandoen kommer til at
hedde

LIBDIR=`ispell -vv | grep LIBDIR | cut -d'"' -f2`

og så bruger du ellers ${LIBDIR} som du ellers ville.


Med venlig  hilsen
Bjørn Bille Højte
sslug@sslug



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 21:38 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *