diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2004-07-25 23:02:27 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2004-07-25 23:02:27 +0000 |
commit | 2c991cc6cd27586e741afb48160e32813a5e9a15 (patch) | |
tree | f1f0526f5f8e10144d54bd3ce2ca2aebc061dc6e /spind | |
parent | Adding spind version 0.1 by plasmaroo. (diff) | |
download | livecd-tools-2c991cc6cd27586e741afb48160e32813a5e9a15.tar.gz livecd-tools-2c991cc6cd27586e741afb48160e32813a5e9a15.tar.bz2 livecd-tools-2c991cc6cd27586e741afb48160e32813a5e9a15.zip |
Fixed spind to work with long mount names.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@8 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'spind')
-rwxr-xr-x | spind | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ #!/bin/bash -# Copyright 2004 <plasmaroo@gentoo.org> +# Copyright 1999-2004 Gentoo Foundation # NO WARRANTY; licensed under the GNU GPL2 -CDSIZE=$(($(df | grep cdrom | head -n 1 | awk '{print $2}') - 256)) +CDSIZE=$(($(df -P | grep cdrom | head -n 1 | awk '{print $2}') - 256)) [ -z "${CDSIZE}" ] && echo '>>> Unknown CD size...' && exit 1 echo ">>> CD size: $(($CDSIZE + 256)) K" |