setup-env 293 Bytes
Newer Older
1 2 3 4
#! /bin/sh

set -e

5 6 7 8 9 10 11 12 13
# Workaround, it seems difficult to convince wine to put ../lib into PATH.
case "$EMULATOR" in
    wine*)
	for f in ../.lib/*.dll ; do
	  ln -s "$f" .
	done
	;;
esac

14 15
if [ -x rsa-keygen$EXEEXT ] ; then
  $EMULATOR ./rsa-keygen -r rsa-decrypt$EXEEXT -o testkey || exit 1
16
fi