openbsd-ports/games/micropolis/patches/patch-Micropolis

16 lines
434 B
Plaintext
Raw Normal View History

$OpenBSD: patch-Micropolis,v 1.2 2008/01/27 16:34:32 deanna Exp $
--- Micropolis.orig Fri Nov 30 21:49:55 2007
+++ Micropolis Tue Jan 15 20:41:37 2008
@@ -1,7 +1,8 @@
-#!/bin/bash
-export SIMHOME=`pwd`
+#!/bin/sh
+export SIMHOME=%%PREFIX%%/share/micropolis
echo "Starting Micropolis in $SIMHOME ... "
-res/sim $*
+cd $SIMHOME
+%%PREFIX%%/libexec/sim $@
#
# Micropolis, Unix Version. This game was released for the Unix platform