mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 02:30:45 +00:00
The find command fails on circleci running ubuntu 14.04 with the following message: Unix filenames usually don't contain slashes (though pathnames do). That means that '-name `./*.go'' will probably evaluate to false all the time on this system. You might find the '-wholename' test more useful, or perhaps '-samefile'. Alternatively, if you are using GNU grep, you could use 'find ... -print0 | grep -FzZ `./*.go''.' This fix is compatible with ubuntu 12.04 This regression is caused by https://github.com/weaveworks/scope/pull/2068/files#diff-3072c24bd91fea6eb71aecc590951d7e
6 lines
142 B
Bash
Executable File
6 lines
142 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
./in_parallel.sh "make RM=" "$(find . -maxdepth 2 -name "*.go" -printf "%h\n" | sort -u | sed -n 's/\.\/\(.*\)/\1\/\1/p')"
|