diff options
author | cjc <cjc@FreeBSD.org> | 2002-01-10 07:43:38 +0000 |
---|---|---|
committer | cjc <cjc@FreeBSD.org> | 2002-01-10 07:43:38 +0000 |
commit | f5d37e9d64af8fb4b8a91f6f5aaef5a5c0f864bf (patch) | |
tree | eebbf47075e2a9177fc2b03933b485e3004b6b9a /gnu/usr.bin | |
parent | 6d0ef8ac85e1e933260e91bb8a8cc059d357730d (diff) | |
download | FreeBSD-src-f5d37e9d64af8fb4b8a91f6f5aaef5a5c0f864bf.zip FreeBSD-src-f5d37e9d64af8fb4b8a91f6f5aaef5a5c0f864bf.tar.gz |
Fix what was a pointless conditional. Use $GCC_EXEC_PREFIX if
/etc/gnats does not exist.
PR: gnu/33682
Submitted by: Alan Eldridge <ports@geeksrus.net>
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/send-pr/send-pr.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/send-pr/send-pr.sh b/gnu/usr.bin/send-pr/send-pr.sh index 123408d..dd4dd43 100644 --- a/gnu/usr.bin/send-pr/send-pr.sh +++ b/gnu/usr.bin/send-pr/send-pr.sh @@ -40,7 +40,7 @@ GNATS_ADDR=FreeBSD-gnats-submit@freebsd.org DATADIR=@DATADIR@ # If we've been moved around, try using GCC_EXEC_PREFIX. -[ ! -d $DATADIR/gnats -a -d "$GCC_EXEC_PREFIX" ] && DATADIR=@DATADIR@ +[ ! -d $DATADIR/gnats -a -d "$GCC_EXEC_PREFIX" ] && DATADIR="$GCC_EXEC_PREFIX" # The default release for this host. DEFAULT_RELEASE="@DEFAULT_RELEASE@" |