diff options
author | Bernie Innocenti <bernie@codewiz.org> | 2010-04-21 19:42:58 (GMT) |
---|---|---|
committer | Bernie Innocenti <bernie@codewiz.org> | 2010-04-21 19:42:58 (GMT) |
commit | abfcd9e1c3aabad559dfb3a379da5ba4cefeeaa3 (patch) | |
tree | 84f3990ae208d742a896caf5aaf10c21d132d957 /modules | |
parent | ae09b43b287b7e0b1b6250f3df30fa77c04ea6eb (diff) |
library_homepage: Add support for subdirs
Diffstat (limited to 'modules')
-rw-r--r-- | modules/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/\"" |