diff options
author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2020-02-20 18:29:02 -0300 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-11 13:33:28 +0200 |
commit | 40acc13ca72ca7d2815dc5d94549d5dc48e16e98 (patch) | |
tree | 906c9beaf8066821c26da53b53e0b85c999d8ea4 /scripts/functions.sh | |
parent | df09cc6ddb85aeaad616aba74810c4be44284fe7 (diff) | |
download | upstream-40acc13ca72ca7d2815dc5d94549d5dc48e16e98.tar.gz upstream-40acc13ca72ca7d2815dc5d94549d5dc48e16e98.tar.bz2 upstream-40acc13ca72ca7d2815dc5d94549d5dc48e16e98.zip |
build: package-ipkg: avoid calling wildcard twice
Instead of calling $(wildcard) to check if the removal list is empty,
then calling it again to actually remove the files, define a function so
that the arguments are expanded only once when it gets called.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'scripts/functions.sh')
0 files changed, 0 insertions, 0 deletions