Skip to content

Commit

Permalink
Updated uncpio.sh to create directories if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
devttys0 committed Nov 23, 2013
1 parent 4a04751 commit 9f4e37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uncpio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ then
ROOTFS_CREATED=1
fi

cd $ROOTFS && cpio -i --no-absolute-filenames < $FSIMG
cd $ROOTFS && cpio -d -i --no-absolute-filenames < $FSIMG

if [ "$(ls $ROOTFS)" == "" ] && [ "$ROOTFS_CREATED" == "1" ]
then
Expand Down

0 comments on commit 9f4e37b

Please sign in to comment.