source: barnowl @ 678a505c

release-1.10release-1.6release-1.7release-1.8release-1.9
Last change on this file since 678a505c was 9a7b4f2, checked in by Nelson Elhage <nelhage@mit.edu>, 15 years ago
Use zcrypt from our own bin directory.
  • Property mode set to 100755
File size: 384 bytes
RevLine 
[d5ef539]1#!/bin/sh
2# This is a wrapper script to point BARNOWL_DATA_DIR at the source dir
3# if we're running from a build tree. barnowl.bin is the actual built
4# binary.
5
6SRCDIR=`dirname "${0}"`
7EXE="$SRCDIR/barnowl.bin"
8
9if ! test -x "$EXE"; then
10    echo "Cannot find barnowl.bin" >&2
11    exit 1
12fi
13
14export BARNOWL_DATA_DIR="$SRCDIR/perl/"
[9a7b4f2]15export BARNOWL_BIN_DIR="$SRCDIR/"
[d5ef539]16exec "$EXE" "$@"
Note: See TracBrowser for help on using the repository browser.