From 18b34ab43029adb1b9e31603f699cd65d69c7bea Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 22 May 2001 10:37:32 +0000 Subject: Correct empty directories pruning code. --- www/mozilla-vendor/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'www/mozilla-vendor') diff --git a/www/mozilla-vendor/Makefile b/www/mozilla-vendor/Makefile index 142c2f384861..ed7681c24c1e 100644 --- a/www/mozilla-vendor/Makefile +++ b/www/mozilla-vendor/Makefile @@ -67,9 +67,7 @@ post-build: ${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \ ${ECHO} locale,install,select,en-US >> chrome/installed-chrome.txt; \ ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome) - # Prune empty chrome dirs, so we don't have to pollute PLIST with - # zillion "@exec mkdir" and "@dirrm" - @/usr/bin/find ${WRKSRC}/dist/bin -type d | \ + @/usr/bin/find ${WRKSRC}/dist/bin -type d | /usr/bin/sort -r | \ /usr/bin/xargs ${RMDIR} 2> /dev/null || ${TRUE} do-install: -- cgit v1.2.3