mirror of
https://github.com/osmarks/ngircd.git
synced 2025-05-02 23:44:06 +00:00
Set $srcdir if not already set by make.
This commit is contained in:
parent
4f8ac179bf
commit
9ddb934784
@ -1,6 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# ngIRCd Test Suite
|
# ngIRCd Test Suite
|
||||||
# $Id: tests.sh,v 1.4 2003/08/22 11:31:18 alex Exp $
|
# $Id: tests.sh,v 1.5 2004/09/04 14:22:38 alex Exp $
|
||||||
|
|
||||||
|
# detect source directory
|
||||||
|
[ -z "$srcdir" ] && srcdir=`dirname $0`
|
||||||
|
|
||||||
name=`basename $0`
|
name=`basename $0`
|
||||||
test=`echo ${name} | cut -d '.' -f 1`
|
test=`echo ${name} | cut -d '.' -f 1`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user