From 3f67cd5d81adb4f4d2a381a6863109bad80a7889 Mon Sep 17 00:00:00 2001
From: "p.kosyh"
Date: Sun, 8 Nov 2009 15:42:57 +0000
Subject: [PATCH] Fix in configure.sh
---
Rules.make | 2 +-
configure.sh | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Rules.make b/Rules.make
index d0f4e26..ea604df 120000
--- a/Rules.make
+++ b/Rules.make
@@ -1 +1 @@
-Rules.make.standalone
\ No newline at end of file
+Rules.make.system
\ No newline at end of file
diff --git a/configure.sh b/configure.sh
index a244c31..ebcec63 100755
--- a/configure.sh
+++ b/configure.sh
@@ -89,17 +89,17 @@ echo "SDL_LFLAGS=\$(shell sdl-config --libs) -lSDL_ttf -lSDL_mixer -lSDL_image"
echo "ok"
echo -n "Do you want game will run standalone(1) or will be installed in system(2) [1]: "
read ans
-if [ "x$ans" == "x1" -o "x$ans" == "x" ]; then
+if [ "x$ans" = "x1" -o "x$ans" = "x" ]; then
echo " * Standalone version"
rm -f Rules.make
ln -s Rules.make.standalone Rules.make
echo "Ok, now do:"
echo " make && ./sdl-instead"
-elif [ "x$ans" == "x2" ]; then
+elif [ "x$ans" = "x2" ]; then
echo -n "Enter prefix path [/usr/local]:"
read ans
- if [ "x$ans" == "x" ]; then
+ if [ "x$ans" = "x" ]; then
prefix="/usr/local"
else
prefix="$ans"