[PATCH olpc-os-builder 06/14] library_homepage: Add support for subdirs

Sascha Silbe silbe at activitycentral.com
Thu Mar 17 11:21:20 EDT 2011


From: Bernie Innocenti <bernie at codewiz.org>


Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
---
 .../library_homepage/kspost.50.nochroot.library.sh |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/modules/library_homepage/kspost.50.nochroot.library.sh b/modules/library_homepage/kspost.50.nochroot.library.sh
index 8874683..08c1982 100644
--- a/modules/library_homepage/kspost.50.nochroot.library.sh
+++ b/modules/library_homepage/kspost.50.nochroot.library.sh
@@ -16,9 +16,4 @@ if [ ! -d "$path" ]; then
 fi
 
 # synchronize the files within the path, conserving directory structure
-pushd "$path" >/dev/null
-find . -type f -print0 | while read -d $'\0' file; do
-	echo "cp \"$path\"/\"$file\" \$INSTALL_ROOT/usr/share/library-common/\"$file\""
-done
-popd >/dev/null
-
+echo "rsync -a \"$path\"/ \"\$INSTALL_ROOT/usr/share/library-common/\""
-- 
1.7.4.1




More information about the Devel mailing list