98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
-
+
-
+
+
+
-
+
-
-
+
+
+
+
+
+
|
proc verifyPgpSignature { fileName } {
variable pgpCommand
if {[isEagle]} then {
set fileName [appendArgs \" $fileName \"]
return [expr {[catch {
if {[catch {
eval exec -success Success [subst $pgpCommand]
}] == 0}]
}] == 0} then {
return true
}
} else {
return [expr {[catch {
if {[catch {
eval exec [subst $pgpCommand] 2>@1
}] == 0}]
}
}] == 0} then {
return true
}
}
return false
}
proc getLookupVarNamePrefix {} {
return ::rpkg_; # TODO: Make non-global?
}
proc getLookupVarNameSuffix {} {
|