Skip to content

Commit

Permalink
-d for umount
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanuan committed Apr 6, 2012
1 parent 9124763 commit 04d946e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extract.sh
Expand Up @@ -21,11 +21,11 @@ make
mkdir -p $ROOTFS_EXTRACTED
sudo mount -t ext2 -o loop $SWUPDATE_EXTRACTED/$ROOTFS_FILE $TEMP_MOUNT/
cp -dpR $TEMP_MOUNT/* $ROOTFS_EXTRACTED/
sudo umount $TEMP_MOUNT
sudo umount -d $TEMP_MOUNT

mkdir -p $APPFS_EXTRACTED
sudo mount -t ext2 -o loop $SWUPDATE_EXTRACTED/$APPFS_FILE $TEMP_MOUNT/
cp -dpR $TEMP_MOUNT/* $APPFS_EXTRACTED/
sudo umount $TEMP_MOUNT
sudo umount -d $TEMP_MOUNT

rmdir $TEMP_MOUNT

1 comment on commit 04d946e

@ifred
Copy link

@ifred ifred commented on 04d946e Apr 10, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спасибо!

Please sign in to comment.