diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-02-04 09:48:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-02-04 09:48:29 +0000 |
commit | 9eefff3b484dd46e1244d0201844fc91e2b78a62 (patch) | |
tree | f8b7f7b94b415252f9a80aa62860264c018220e4 /scripts | |
parent | 79f9c336d9d8af63e322e3c52f09fec3d7cb3c2b (diff) | |
parent | cddd3c895a6b7c29bdf7d8d54e97921d9c6c395c (diff) |
Merge "[HICN-10] Remove temporary files generated by CPack[Deb/Rpm]."
Diffstat (limited to 'scripts')
-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 |