Skip to content

Commit

Permalink
wrapGAppsHook: Revert "Correct wrapProgram invocations"
Browse files Browse the repository at this point in the history
This reverts commit 8b9f153 of
#25183 because it breaks builds of
packages that don't install both a "bin" and a "libexec" directory. See
#25183 (comment) for more
details.
  • Loading branch information
peti committed Apr 28, 2017
1 parent 1d8c6aa commit 5c25c33
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkgs/build-support/setup-hooks/wrap-gapps-hook.sh
Expand Up @@ -36,10 +36,9 @@ wrapGAppsHook() {
done

if [ -z "$dontWrapGApps" ]; then
find "${prefix}/bin" "${prefix}/libexec" -type f -executable -print0 \
| while IFS= read -r -d '' file; do
echo "Wrapping program $file"
wrapProgram "$file" "${gappsWrapperArgs[@]}"
for i in $prefix/bin/* $prefix/libexec/*; do
echo "Wrapping app $i"
wrapProgram "$i" "${gappsWrapperArgs[@]}"
done
fi
}
Expand Down

0 comments on commit 5c25c33

Please sign in to comment.