зеркало из https://github.com/microsoft/docker.git
hack: make.sh: remove not used function
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Родитель
1066725395
Коммит
dc41fff56e
19
hack/make.sh
19
hack/make.sh
|
@ -232,25 +232,6 @@ binary_extension() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# This helper function walks the current directory looking for directories
|
|
||||||
# holding certain files ($1 parameter), and prints their paths on standard
|
|
||||||
# output, one per line.
|
|
||||||
find_dirs() {
|
|
||||||
find . -not \( \
|
|
||||||
\( \
|
|
||||||
-path './vendor/*' \
|
|
||||||
-o -path './integration-cli/*' \
|
|
||||||
-o -path './contrib/*' \
|
|
||||||
-o -path './pkg/mflag/example/*' \
|
|
||||||
-o -path './.git/*' \
|
|
||||||
-o -path './bundles/*' \
|
|
||||||
-o -path './docs/*' \
|
|
||||||
-o -path './pkg/libcontainer/nsinit/*' \
|
|
||||||
\) \
|
|
||||||
-prune \
|
|
||||||
\) -name "$1" -print0 | xargs -0n1 dirname | sort -u
|
|
||||||
}
|
|
||||||
|
|
||||||
hash_files() {
|
hash_files() {
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
f="$1"
|
f="$1"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче