From fef1bdfad1b39b9d0097a88001009dd0dd334a7f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 5 Jun 2006 20:23:24 +0000 Subject: [PATCH] * Make it work. svn path=/nixpkgs/trunk/; revision=5385 --- pkgs/development/compilers/visual-c++/builder.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/visual-c++/builder.sh b/pkgs/development/compilers/visual-c++/builder.sh index cacf14f3077..137db50fb62 100644 --- a/pkgs/development/compilers/visual-c++/builder.sh +++ b/pkgs/development/compilers/visual-c++/builder.sh @@ -13,11 +13,14 @@ while read target; do read source echo "$source -> $target" ensureDir $out/$(dirname $target) - cp "$source" $out/"$target" + cp -p "$source" $out/"$target" done < $filemap +# Make DLLs and executables executable. +find $out \( -iname "*.dll" -o -iname "*.exe" -o -iname "*.config" \) -print0 | xargs -0 chmod +x + cat > $out/setup <