diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-02-04 10:39:27 +0100 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2019-02-04 10:39:27 +0100 |
commit | cddd3c895a6b7c29bdf7d8d54e97921d9c6c395c (patch) | |
tree | 2daa4594fd63ae31bfb79e416d4b5ead99008e7c | |
parent | e8fabe3f6313a3b9050fe16458e4714d9dce426e (diff) |
[HICN-10] Remove temporary files generated by CPack[Deb/Rpm].
Change-Id: I05fc7d917970a0b9780c667aa5e818cbc1d3240a
Signed-off-by: Mauro Sardara <msardara@cisco.com>
-rw-r--r-- | scripts/build-packages.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-packages.sh b/scripts/build-packages.sh index 95f1fe043..6bbd0d5c9 100644 --- a/scripts/build-packages.sh +++ b/scripts/build-packages.sh @@ -158,7 +158,7 @@ build_package() { make package - # find . -name '.*Unspecified.*' -print0 | xargs -0 rm -rf -- || true + find . -not -name '*.deb' -not -name '*.rpm' -print0 | xargs -0 rm -rf -- || true rm *Unspecified* popd |