summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-04-06 14:54:14 +0000
committerPeter Jones <pjones@redhat.com>2005-04-06 14:54:14 +0000
commit184e2e4c3285d20927c1b0c2ba2641a86dbe661d (patch)
tree02eedcf38d22fa8c63af32a97f488ccdc10e1028
parent89235f9e4bb491d5c72348f87e8b67d1503c1c9d (diff)
downloadanaconda-184e2e4c3285d20927c1b0c2ba2641a86dbe661d.tar.gz
anaconda-184e2e4c3285d20927c1b0c2ba2641a86dbe661d.tar.xz
anaconda-184e2e4c3285d20927c1b0c2ba2641a86dbe661d.zip
don't move libraries that *aren't* the one we're after
-rwxr-xr-xscripts/upd-instroot4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 801d6cc21..4e2b360bb 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -97,8 +97,8 @@ expandPackageSet() {
if [ -d obsolete/linuxthreads/ ]; then
for x in obsolete/linuxthreads/*-* ; do
lib_base=$(basename $x | cut -d- -f1)
- rm -f ./$lib_base*
- mv -f obsolete/linuxthreads/$lib_base* .
+ rm -f ./$lib_base[.-]*
+ mv -f obsolete/linuxthreads/$lib_base[.-]* .
done
rmdir obsolete/linuxthreads obsolete
fi )