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
commit67ebf79d2ebd617fa29f3e66077a93fbc36d64b1 (patch)
treebaa6009fdaed22363d836179b7fcc2255cd7e551
parentee67c64c672eca8319b8619954b02b8786ce0407 (diff)
downloadopenttd-67ebf79d2ebd617fa29f3e66077a93fbc36d64b1.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
}