use install command instead of cp command to set permissions correctly.

git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4310 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2009-07-19 04:33:49 +00:00
parent 8cc69f9194
commit ca0cf20012
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ main()
fi
echo "prefix=$prefix"
invoke mkdir -p "$prefix/bin"
invoke cp $BINS "$prefix/bin"
invoke install -m755 $BINS "$prefix/bin"
invoke mkdir -p "$prefix/lib"
invoke cp $LIBS "$prefix/lib"
invoke rm -rf "$prefix/import"