# Script to generate file system usage information files (.pkgsize)
# for use of the install-jds script to calculate the disk space
# requirements
if [ $# = 0 -o "x$1" = "x--help" -o "x$1" = "x-h" ]; then
echo "Usage: $0 directory..."
echo "Calculate file system usage information files for the given directories"
exit 1
fi
TEMPFILES="$TEMPFILES $1"
}
IFS=" "
cd /
for f in $TEMPFILES; do
done
}
echo $msg 1>&2
done
exit 1
}
cd $TEMPDIR
}
cd $TEMPDIR/$3
dummy=$(echo */*)
if [ $? != 0 ]; then
else
fi
}
cd $TEMPDIR
fi
}
echo "Generating .pkgsize in $1"
IFS="
"
sizefile="$1/.pkgsize"
cd /
done
}
# main ()
IFS="
"
mydir=`pwd`
cd "$mydir"
test ! -d "$dir" && continue
/*)
;;
*)
;;
esac
done
exit 0