aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-11-23 12:40:23 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-11-23 12:40:23 -0200
commit8056ff5e73a7efab18ec33462f32ec55e73d5b74 (patch)
treec732f87a73f84c5b8a892c2df3166915792aacfd
parenta327229e134db69e07111fd5010e13e5fb7832f5 (diff)
downloadutils-cdrecord-8056ff5e73a7efab18ec33462f32ec55e73d5b74.tar.gz
utils-cdrecord-8056ff5e73a7efab18ec33462f32ec55e73d5b74.tar.bz2
Ensure mountpoint exists on mass-ripper
-rwxr-xr-xmass-ripper4
1 files changed, 2 insertions, 2 deletions
diff --git a/mass-ripper b/mass-ripper
index 2f0b414..934b3df 100755
--- a/mass-ripper
+++ b/mass-ripper
@@ -41,9 +41,9 @@ while true; do
sleep 1
else
echo "Got it! Mounting..."
- mkdir -p cdrom || exit 1
+ mkdir -p $MOUNT || exit 1
$sudo mount -r $DRIVE $MOUNT || exit 1
- #mkdir -p $ITERATION || exit 1
+ #mkdir -p $ITERATION || exit 1
echo "Copying data..."
cp -vr $MOUNT $ITERATION || exit 1