|
@@ -112,7 +112,7 @@ func findExecutable(programName string) (string, error) {
|
112
|
112
|
}
|
113
|
113
|
}
|
114
|
114
|
|
115
|
|
-// Searches the given set of paths for a the given program, returing when it finds it or returning an error if the
|
|
115
|
+// Searches the given set of paths for a the given program, returning when it finds it or returning an error if the
|
116
|
116
|
// program is not found
|
117
|
117
|
func searchPath(programName string, path []string) (string, error) {
|
118
|
118
|
// Loop through each path element, test for the existance of the file, and then return if we find it
|