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

set -e

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

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