summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-02-05 17:32:20 +0000
committerMatt Wilson <msw@redhat.com>2001-02-05 17:32:20 +0000
commit46002d80d04aa222ae1cf5fbb01888d369a8d258 (patch)
tree8d73db7ad2ee98e164bfb981da0aa0f8d7058a0d /scripts
parenta2a6ab9c61f40ec4531e5f198973056b9270e93b (diff)
downloadanaconda-46002d80d04aa222ae1cf5fbb01888d369a8d258.tar.gz
anaconda-46002d80d04aa222ae1cf5fbb01888d369a8d258.tar.xz
anaconda-46002d80d04aa222ae1cf5fbb01888d369a8d258.zip
make the filename checks space safe
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pythondeps2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pythondeps b/scripts/pythondeps
index 2b38a5289..6c391d7c6 100644
--- a/scripts/pythondeps
+++ b/scripts/pythondeps
@@ -20,7 +20,7 @@ fi
(/usr/sbin/chroot $DIR /usr/bin/anaconda -m dir://mnt/source --test --text --traceonly; \
cd $DIR; find usr/lib/python* usr/lib/anaconda -type f | sed 's,^,/,' ) | \
sort | uniq -u | sed s,^,./, | while read fn; do
- [ ! -d $DIR/$fn ] && rm $DIR/$fn
+ [ ! -d "$DIR/$fn" ] && rm "$DIR/$fn"
done
umount $DIR/proc
rmdir $DIR/proc