module-init-tools: 3.4 -> 3.16

svn path=/nixpkgs/branches/stdenv-updates/; revision=28621
This commit is contained in:
David Guibert
2011-08-16 18:20:59 +00:00
parent e861fb2bcd
commit 05a530fd10
3 changed files with 167 additions and 157 deletions
@@ -26,6 +26,7 @@ ensureDir $out/lib/modules/"$version"
for module in $closure; do
target=$(echo $module | sed "s^/nix/store/.*/lib/modules/^$out/lib/modules/^")
if test -e "$target"; then continue; fi
if test \! -e "$module"; then continue; fi # XXX: to avoid error with "cp builtin builtin"
mkdir -p $(dirname $target)
echo $module
cp $module $target