Files
openwrt/include
Eneas U de Queiroz 1fcd833c9a build: call ipkg-remove using xargs if #args>=512
The wildcard call to clean up luci package (luci*) can pick up over
2,300 files when the full tree is built. Running make package/luci/clean
or a second run of make package/luci/compile would fail with an
'Argument list too long' error.

To avoid that, a maybe_use_xargs function was created that runs the
command straight as usual if the number of arguments is < 512, or saves
the list in a temporary file and feeds it to xargs otherwise.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 78d1f3ac61)
2021-03-19 11:48:31 +01:00
..
2017-10-24 13:24:04 +02:00
2015-03-29 07:29:18 +00:00
2018-07-30 14:26:16 +02:00
2021-03-06 15:48:03 +01:00
2019-01-30 13:20:14 +01:00
2019-02-17 19:30:34 +01:00
2016-10-13 17:04:43 +02:00
2018-08-05 00:06:27 +02:00