summaryrefslogtreecommitdiff
path: root/eclass/kde5-functions.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/kde5-functions.eclass')
-rw-r--r--eclass/kde5-functions.eclass16
1 files changed, 16 insertions, 0 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index b20d406721d..a8cc1a34432 100644
--- a/eclass/kde5-functions.eclass
+++ b/eclass/kde5-functions.eclass
@@ -141,6 +141,10 @@ _add_category_dep() {
add_frameworks_dep() {
debug-print-function ${FUNCNAME} "$@"
+ if [[ $# -gt 4 ]]; then
+ die "${FUNCNAME} was called with too many arguments"
+ fi
+
local version
if [[ -n ${3} ]]; then
@@ -169,6 +173,10 @@ add_frameworks_dep() {
add_plasma_dep() {
debug-print-function ${FUNCNAME} "$@"
+ if [[ $# -gt 4 ]]; then
+ die "${FUNCNAME} was called with too many arguments"
+ fi
+
local version
if [[ -n ${3} ]]; then
@@ -197,6 +205,10 @@ add_plasma_dep() {
add_kdeapps_dep() {
debug-print-function ${FUNCNAME} "$@"
+ if [[ $# -gt 4 ]]; then
+ die "${FUNCNAME} was called with too many arguments"
+ fi
+
local version
if [[ -n ${3} ]]; then
@@ -230,6 +242,10 @@ add_kdeapps_dep() {
add_qt_dep() {
debug-print-function ${FUNCNAME} "$@"
+ if [[ $# -gt 4 ]]; then
+ die "${FUNCNAME} was called with too many arguments"
+ fi
+
local version
if [[ -n ${3} ]]; then