summaryrefslogtreecommitdiff
path: root/cad/boolean/patches/patch-aa
blob: a8b1b0431820c11641a7bc82f102379537b8ed3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-aa,v 1.4 2007/02/23 16:42:30 wiz Exp $

--- bin/boolean.orig	2005-03-04 13:23:04.000000000 +0000
+++ bin/boolean
@@ -1,7 +1,6 @@
 #! /bin/sh
-PATH=/opt/protools/boolean/6.3/boolean/apps/edit:$PATH
 
-GDSROOT=/opt/protools/boolean/6.3/boolean/apps/edit
+GDSROOT=@prefix@/share/boolean
 export GDSROOT
 
 echo "boolean operation program"
@@ -11,10 +10,10 @@ if test ! -d ${HOME}/gdsuser ; then 
    echo copying gdsuser to your HOME directory, It can be used for personal settings
    cp -r $GDSROOT/gdsuser $HOME
 else
-   if test ! -f  ${HOME}/gdsuser/6.3_version ; then
-        echo copying gdsuser to your HOME directory because the one there is too old
-   	rm -r ${HOME}/gdsuser
-	cp -r $GDSROOT/gdsuser $HOME
+   if test ! -f  ${HOME}/gdsuser/6.6_version ; then
+        echo "The files in your $HOME/gdsuser directory are not recent enough."
+	echo "Please remove this directory and run this program again."
+	echo "A new set of files will be installed to $HOME/gdsuer."
    fi	    
 fi