Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/cad/gdt/files/patch-Examples-gdsinfo
16461 views
--- 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";