(svn r14225) -Fix [configure]: make sure a dir exists if you want to write into it

pull/155/head
truebrain 16 years ago
parent ee67c64c67
commit 67ebf79d2e

@ -2363,6 +2363,7 @@ generate_menu_item() {
s#!!MENU_GROUP!!#$menu_group#g
"
echo "Generating menu item..."
mkdir -p media
< $ROOT_DIR/media/openttd.desktop.in sed "$MENU_REPLACE" > media/openttd.desktop
}

Loading…
Cancel
Save