summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2008-09-02 15:56:31 +0000
committertruebrain <truebrain@openttd.org>2008-09-02 15:56:31 +0000
commitec8962a599d76aefa0030e0d2d511fb1eb61bd26 (patch)
treebaa6009fdaed22363d836179b7fcc2255cd7e551
parentded643450224003ae50e0e0368b34df0a7ded7d7 (diff)
downloadopenttd-ec8962a599d76aefa0030e0d2d511fb1eb61bd26.tar.xz
(svn r14225) -Fix [configure]: make sure a dir exists if you want to write into it
-rw-r--r--config.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.lib b/config.lib
index 226c21ee9..fd05a8fb5 100644
--- a/config.lib
+++ b/config.lib
@@ -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
}