mbox

list: fix a bug

Message ID 1500470511-21430-1-git-send-email-jonatan.schlag@ipfire.org
State Accepted
Commit c8c968a83651c192440d490809691b3d8d5d25c6
Headers

Message

Jonatan Schlag July 19, 2017, 11:21 p.m. UTC
  When the list is called "list" we have a problem because
${list}="list"
and ${!list}="list"
This creates effects nobody wants and which are also not so easy to understand.
To avoid such problems in the future we now throw an assertation when the list is called list.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 src/functions/functions.list | 7 +++++++
 1 file changed, 7 insertions(+)