diff options
author | Jeffery To <jeffery.to@gmail.com> | 2018-12-13 01:33:36 +0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-01-30 12:40:16 +0100 |
commit | b98b55a64fb633d7901f9db5529e52e3175300e9 (patch) | |
tree | 9461fe9f8cd6ff5d54f805df6f6e05220077b053 /scripts/ipkg-make-index.sh | |
parent | e6c2f3feb1e5bf30f25b333f91ec2be6f5b7102d (diff) | |
download | upstream-b98b55a64fb633d7901f9db5529e52e3175300e9.tar.gz upstream-b98b55a64fb633d7901f9db5529e52e3175300e9.tar.bz2 upstream-b98b55a64fb633d7901f9db5529e52e3175300e9.zip |
build: fix STAGING_DIR cleaning for packages
This fixes two issues with cleaning package files from STAGING_DIR:
* CleanStaging currently can only remove files and not directories. This
changes CleanStaging to use clean-package.sh, which does remove
directories.
* Because of the way directories are ordered in the staging files list,
clean-package.sh currently tries (and fails) to remove parent
directories before removing subdirectories. This changes
clean-package.sh to process the staging files list in reverse, so that
subdirectories are removed first.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit a1170936798e519776de605d6986ccb72f04cb06)
Diffstat (limited to 'scripts/ipkg-make-index.sh')
0 files changed, 0 insertions, 0 deletions