aboutsummaryrefslogtreecommitdiffstats
path: root/cad/gdt/files/patch-Examples-gdsinfo
blob: 4a8aa20a210340019e76af5f657db2addf19865e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- Examples/gdsinfo.orig	2016-05-16 17:46:24 UTC
+++ Examples/gdsinfo
@@ -75,10 +75,7 @@ $topCellNames =~ s/,/ /g;
 $topCellNames =~ s/\s+/ /g;
 
 # help find gds2gdt
-my $uname_s = `/bin/uname -s`; # OS name
-chomp $uname_s;
-$ENV{'PATH'} = "/bin:/usr/bin:/user/ic/gnu/$uname_s/bin:".$ENV{'PATH'};
-my $gds2gdt = which("gds2gdt");
+my $gds2gdt = '%%PREFIX%%/bin/gds2gdt';
 unless ($gds2gdt)
 {
     die $REVERSE_RED.ERROR."$COLOR_RESET unable to find gds2gdt in \$PATH";