Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=aadf4bc17e17e9049b71c8fc6ec5349c91fb4c10
commit aadf4bc17e17e9049b71c8fc6ec5349c91fb4c10
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date: Mon Jan 21 04:03:04 2008 +0100
makepkg: handle the case when there are no subpkgs while preparing the docs
diff --git a/scripts/makepkg b/scripts/makepkg
index 9927e73..27d1e7a 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1493,6 +1493,7 @@ done
msg "Preparing package documentation..."
for d in $startdir/{pkg,pkg.*}
do
+ [ ! -d $d ] && continue
if [ -d $d/usr/doc ]; then
mkdir -p $d/usr/share/doc
cp -a $d/usr/doc/* $d/usr/share/doc/
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git