From ddce689d0582e5c3cfd353645c7d7bbb1f74f5ae Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Thu, 17 Oct 2019 20:14:42 -0500 Subject: Remove dependencies_check() from project scripts Removing the check function allows dependencies() to be executed, printing the list of dependencies. It was not executed before due to the way check functions are handled; check functions are executed before functions with the same name (minus the "_check" suffix) in order to determine whether calling the function is necessary. --- projects/coreboot/coreboot | 4 ---- projects/cros-ec/cros-ec | 4 ---- projects/dejavu-fonts/dejavu-fonts | 4 ---- projects/depthcharge/depthcharge | 4 ---- projects/grub/grub | 4 ---- projects/mosys/mosys | 4 ---- 6 files changed, 24 deletions(-) (limited to 'projects') diff --git a/projects/coreboot/coreboot b/projects/coreboot/coreboot index 046a4de1..e224cccc 100755 --- a/projects/coreboot/coreboot +++ b/projects/coreboot/coreboot @@ -28,10 +28,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - download() { local repository=$project diff --git a/projects/cros-ec/cros-ec b/projects/cros-ec/cros-ec index 1df44feb..55dc676e 100755 --- a/projects/cros-ec/cros-ec +++ b/projects/cros-ec/cros-ec @@ -23,10 +23,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - usage() { project_usage_actions "$project" project_usage_arguments "$project" "$@" diff --git a/projects/dejavu-fonts/dejavu-fonts b/projects/dejavu-fonts/dejavu-fonts index c3d76cf9..1e91362f 100755 --- a/projects/dejavu-fonts/dejavu-fonts +++ b/projects/dejavu-fonts/dejavu-fonts @@ -23,10 +23,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - usage() { project_usage_actions "$project" project_usage_arguments "$project" "$@" diff --git a/projects/depthcharge/depthcharge b/projects/depthcharge/depthcharge index 6a58d305..17057e69 100755 --- a/projects/depthcharge/depthcharge +++ b/projects/depthcharge/depthcharge @@ -23,10 +23,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - usage() { project_usage_actions "$project" project_usage_arguments "$project" "$@" diff --git a/projects/grub/grub b/projects/grub/grub index 3daca888..75d29380 100755 --- a/projects/grub/grub +++ b/projects/grub/grub @@ -23,10 +23,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - usage() { project_usage_actions "$project" project_usage_arguments "$project" "$@" diff --git a/projects/mosys/mosys b/projects/mosys/mosys index fecf9267..4407d784 100755 --- a/projects/mosys/mosys +++ b/projects/mosys/mosys @@ -23,10 +23,6 @@ dependencies() { project_dependencies "$project" "$@" } -dependencies_check() { - project_dependencies_check "$project" "$@" -} - download() { local repository=$project -- cgit v1.2.3-70-g09d2