Create directory before copy

Fixes https://github.com/libretro/RetroArch/issues/9577
This commit is contained in:
Francisco José García García 2019-10-16 11:10:43 +02:00 committed by GitHub
parent 1e5b7dfe3f
commit debf42d968
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,8 +67,8 @@ convert_xmb_assets()
for theme in `ls $src_dir`; do
if [ -d $src_dir/$theme ] ; then
theme=`basename "$theme"`
cp $src_dir/$theme/*.* $dst_dir/$theme/
mkdir -p "$dst_dir/$theme/png"
cp $src_dir/$theme/*.* $dst_dir/$theme/
for png in `ls $src_dir/$theme/png/*.png -d`; do
local name=`basename "$png" .png`
local src_file="$src_dir/$theme/src/$name.svg"