]> git.pld-linux.org Git - packages/chromium-browser.git/blobdiff - clean-source.sh
clean empty dirs only in tarball creation
[packages/chromium-browser.git] / clean-source.sh
index bab5e2797f3eabb7dcb4ad3528a130a867c358f3..6861e5b799c83b311a215b8feb8f3031cb8a5e71 100755 (executable)
@@ -743,6 +743,7 @@ strip_system_dirs \
        third_party/flac \
        third_party/icu \
        third_party/jsoncpp \
+       third_party/libXNVCtrl \
        third_party/libevent \
        third_party/libexif \
        third_party/libjpeg \
@@ -777,8 +778,10 @@ if [ "${nacl:-1}" != "0" ]; then
        rm -rf native_client/toolchain/linux_x86_newlib
 fi
 
-# cleanup empty dirs
-find -type d '!' -name '.' -print0 | sort -zr | xargs -0 rmdir --ignore-fail-on-non-empty > REMOVED-dirs.txt
+if [ "${emptydirs:-0}" != "0" ]; then
+       # cleanup empty dirs
+       find -type d '!' -name '.' -print0 | sort -zr | xargs -0 rmdir --ignore-fail-on-non-empty > REMOVED-dirs.txt
+fi
 
 # report what's in them
 for a in REMOVED-*.txt; do
This page took 0.067182 seconds and 4 git commands to generate.