Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 16 years ago
parent
commit
f9bd6df752
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      scripts/Cleanup

+ 5
- 1
scripts/Cleanup

@ -109,7 +109,11 @@ for x in build/* ; do
umount -d -f "$x/$y" > /dev/null 2>&1
umount -d -f -l "$x/$y" > /dev/null 2>&1
if [ $umount = 0 ]; then
rmdir "$x/$y" > /dev/null 2>&1
if [ "$y" = "dev" ]; then
rm -rf "$x/$y" > /dev/null 2>&1
else
rmdir "$x/$y" > /dev/null 2>&1
fi
if [ -d "$x/$y" ] ; then
echo "Found $y in $x: Not removing!"
delme=0

Loading…
Cancel
Save