Re: Troubles in a multiple choice

Luca <[email protected]> Fri, 17 Nov 2006 17:47:18 +0100
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
Hi and good evening to all!

I managed to grep the locales from the SUPPORTED file of glibc. I copied
it from the tarball and put in the glibc package dir and in some subdirs
(created subdir glibc25 and glibc20061106).

I used the way of the timezones, so I simply added to the code:

comment 'Choose your locale:'

    CFGTEMP_PKG_GLIBC_LANG="POSIX Language_not_set \
`grep "/" $confdir/SUPPORTED | cut -d/ -f1`"

    choice ROCKCFG_PKG_GLIBC_LANG POSIX $CFGTEMP_PKG_GLIBC_LANG

but when starting the Config it outputs: grep: /SUPPORTED: No such file
or directory.

Question: confdir is a variable specified in the PKG-BUILD-VARS as the
directory containing the package build config (package/..) so why when
reading the config-400.in (Glibc Options) in which are specified to look
for the file in the confdir it doesn't find it?

Thanks in advance,
Luca