strip-llvm: Don't wipe out the whole share directory
Keep removing the same items installed by LLVM as before (although that could be revisited too). This avoids removing unintended files if running strip-llvm after the installation of other components.
This commit is contained in:
1 parent
3f72fcbabf
commit
aa173210ff
1 file changed
+5
-1
+5
-1
@@ -117,7 +117,11 @@ if [ -n "$EXEEXT" ]; then
|
||||
rm -f clang-cpp* clang++*
|
||||
fi
|
||||
cd ..
|
||||
rm -rf share libexec
|
||||
rm -rf libexec
|
||||
cd share
|
||||
rm -rf clang opt-viewer scan-build scan-view
|
||||
rm -rf man/man1/scan-build*
|
||||
cd ..
|
||||
cd include
|
||||
rm -rf clang clang-c clang-tidy lld llvm llvm-c lldb
|
||||
cd ..
|
||||
|
||||
Reference in new issue
Block a user