summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-08-07 21:03:13 +0000
committerErik Troan <ewt@redhat.com>2000-08-07 21:03:13 +0000
commit1448c9df7fe481c4e7426527e1e3f19c7eb34b82 (patch)
tree9749f4b7873359cced67ee91ee494d9a26f5974d
parent4a42c0314951b9d45db7545f7adf21710b20ada1 (diff)
downloadanaconda-1448c9df7fe481c4e7426527e1e3f19c7eb34b82.tar.gz
anaconda-1448c9df7fe481c4e7426527e1e3f19c7eb34b82.tar.xz
anaconda-1448c9df7fe481c4e7426527e1e3f19c7eb34b82.zip
ick. +net wasn't working properly
-rwxr-xr-xscripts/mk-images5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index d4c53120e..a93ea6ded 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -204,9 +204,10 @@ expandModuleSet() {
# all of the modules of this type
$MODLIST --modinfo-file $MODINFO $NAME > /tmp/emsAll.$$
# the modules used that are of this type
- cat $MODULESUSED /tmp/emsAll.$$ | sort | uniq -d > /tmp/emsUsed.$$
+ sort -u $MODULESUSED | cat - /tmp/emsAll.$$ | sort |
+ uniq -d > /tmp/emsUsed.$$
# the modules that are of this type, but not used
- SET=$(cat /tmp/emsAll.$$ /tmp/emsUsed.$$ | sort | uniq -u)
+ SET="$SET $(cat /tmp/emsAll.$$ /tmp/emsUsed.$$ | sort | uniq -u)"
rm -f /tmp/emsAll.$$ /tmp/emsUsed.$$
else