Skip to content

Commit

Permalink
Added a script to find a working mg binary on your machine, to handle…
Browse files Browse the repository at this point in the history
… incompatible glibcs
  • Loading branch information
Joe Sadusk committed Jun 14, 2012
1 parent 9881849 commit 743b593
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions skein_engines/mg_engines/linux/x86_64/miracle_grue_bootstrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh

DIR=`echo $0| sed 's/\/.*//'`

if [ ! -x miracle_grue_found ]; then
echo Searching
for BINARY in $DIR/*_glibc_*; do
if $BINARY > /dev/null; then
WORKING=$BINARY
break
fi
done

ln -s $WORKING $DIR/miracle_grue_found
fi

exec $DIR/miracle_grue_found

0 comments on commit 743b593

Please sign in to comment.