# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../lua-coxpcall/hotfix.patch # Copyright (C) 2009 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- --- ./configure.orig 2009-05-14 12:58:47.000000000 +0000 +++ ./configure 2009-05-14 12:59:07.000000000 +0000 @@ -1,6 +1,6 @@ #!/bin/bash -if [ $1 == "--help" ]; then +if [ "$1" == "--help" ]; then echo "Usage: configure lua51" echo "where lua51 is the name of your Lua executable" exit 0 @@ -8,8 +8,8 @@ echo "Trying to find where you installed Lua..." -if [ $1 != "" ]; then - lua=$1 +if [ "$1" != "" ]; then + lua="$1" else lua="lua51" fi