|
From: Heiko Z. <he...@zu...> - 2005-11-01 12:58:06
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey Serge, > 2. if $f is equivalent of $s then it means that no dependencies for this > module, otherwise we should check condition: if $s is true, then use this > module. > > Well, I have a trouble in the condition checking. There is true > (if [ "$s" ]; then ) > or false ( if [ $s ]; then ) _always_. > > > Really I've done a lot of modifications of this simple line but > unsuccessful. I think this is where the 'eval' command comes in. I can't look it up right now, but see what you can find about it. Maybe it's also easier to call the 'test' command directly ( [ is actually a symlink to test ). - -- Regards Heiko Zuerker http://www.devil-linux.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDZ2ZPNSH8ZBOpHgYRAkALAKDBZjceDVlT4E4rLlobQlfgjJtwlQCeO7Zt aw/WY+Q20Cwic+hfGjuaNpw= =ugXk -----END PGP SIGNATURE----- |