mkdir if dir not present

This commit is contained in:
Gwenhael Le Moine 2014-08-20 15:25:56 +02:00
parent 118b8e5dee
commit f7b7cb8130

View file

@ -35,6 +35,7 @@ function prepare_dest() {
function download_and_install_binaries() { function download_and_install_binaries() {
echo ". install binaries" echo ". install binaries"
mkdir -p $DEST/image/sdcard/
cd $DEST/image/sdcard/ cd $DEST/image/sdcard/
if [ ! -e $CWD/slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz ]; then if [ ! -e $CWD/slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz ]; then
echo ". . downloading binaries" echo ". . downloading binaries"