1 2 3 4 5 6 7 8
#!/bin/sh # Create the doc dist. if [ -d ${RD}/trees/bin/usr/share/doc ]; then ( cd ${RD}/trees/bin/usr/share/doc; find . | cpio -dumpl ${RD}/trees/doc/usr/share/doc ) && rm -rf ${RD}/trees/bin/usr/share/doc fi