mathematica package patchPhase does not like set -e
This commit is contained in:
parent
56dc9789aa
commit
158e4ffd9c
@ -96,6 +96,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
echo "=== PatchElfing away ==="
|
echo "=== PatchElfing away ==="
|
||||||
|
# This code should be a bit forgiving of errors, unfortunately
|
||||||
|
set +e
|
||||||
find $out/libexec/Mathematica/SystemFiles -type f -perm -0100 | while read f; do
|
find $out/libexec/Mathematica/SystemFiles -type f -perm -0100 | while read f; do
|
||||||
type=$(readelf -h "$f" 2>/dev/null | grep 'Type:' | sed -e 's/ *Type: *\([A-Z]*\) (.*/\1/')
|
type=$(readelf -h "$f" 2>/dev/null | grep 'Type:' | sed -e 's/ *Type: *\([A-Z]*\) (.*/\1/')
|
||||||
if [ -z "$type" ]; then
|
if [ -z "$type" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user