summaryrefslogtreecommitdiff
path: root/emulators/e-uae/patches/patch-ah
blob: d9c658f4b273e5de854a1f73cb53a202d5dc637c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ah,v 1.1 2006/10/22 19:38:58 rillig Exp $

--- src/install_libscg.orig	2004-05-19 03:21:12.000000000 +0200
+++ src/install_libscg	2006-10-22 21:34:07.000000000 +0200
@@ -10,7 +10,7 @@
 #
 # check arguments
 #
-if [ $# -lt 1 ] || [ $# -gt 3 ] || [ "$1" == "--help" ]; then
+if [ $# -lt 1 ] || [ $# -gt 3 ] || [ "$1" = "--help" ]; then
     echo "usage: $0 <cdrtools dir> <machine type (optional)>"
     exit 0
 fi
@@ -32,7 +32,7 @@ else
         echo "please specify your machine type - libscg was compiled for:"
         echo "$machine"
         exit 10
-    elif [ "$machine"x == x ]; then
+    elif [ "$machine"x = x ]; then
         echo "please compile cdrecord for your machine first"
         exit 10
     fi