From 7429b9ca3b098943707bb907f4ddcf824192cade Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sat, 5 Nov 2005 10:59:23 +0000 Subject: [PATCH] The download of module-init-tools-testsuite package is required only if the optional test suites will be run. --- jhalfs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jhalfs b/jhalfs index c494a53..98a3ebe 100755 --- a/jhalfs +++ b/jhalfs @@ -171,8 +171,12 @@ extract_commands() { grep "\-version" $BOOK/general.ent | sed -e 's@@"@' \ -e '/generic/d' >> packages echo `grep "glibc" packages | sed 's@glibc@&-linuxthreads@'` >> packages - echo `grep "module" packages | sed 's@tools@&-testsuite@'` >> packages echo `grep "udev-config-file" $BOOK/general.ent | sed -e 's@@"@'` >> packages + # Download the module-init-tools-testsuite package only + # if the test suite will be run. + if [ "$TEST" = "1" ] ; then + echo `grep "module" packages | sed 's@tools@&-testsuite@'` >> packages + fi # If we are buildind the UTF-8 branch, the glibc-libidn package is required if grep -q "man-db-version" $BOOK/general.ent ; then echo `grep "glibc" packages | sed 's@glibc@glibc-libidn@'` >> packages