mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Use the sample configuration file if the actual one is not available.This
makes the wrapper usable right after make install. PR: 189359 Submitted by: Thierry Thomas <thierry@FreeBSD.org>
This commit is contained in:
parent
1604951b30
commit
474f608c9d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353003
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= wrapper
|
||||
PORTVERSION= 1.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= lang tcl
|
||||
MASTER_SITES= # empty
|
||||
PKGNAMEPREFIX= ${TX_PORT}-
|
||||
|
@ -6,6 +6,10 @@
|
||||
%%TX_SHELL_U%%=
|
||||
%%TX_SHELL_U%%_CONF=%%TX_CONF_FULL%%
|
||||
|
||||
if [ ! -f "${%%TX_SHELL_U%%_CONF}" ]; then
|
||||
%%TX_SHELL_U%%_CONF=${%%TX_SHELL_U%%_CONF}.sample
|
||||
fi
|
||||
|
||||
if [ -f "${%%TX_SHELL_U%%_CONF}" ]; then
|
||||
. ${%%TX_SHELL_U%%_CONF}
|
||||
if [ -n "${%%TX_SHELL_U%%}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user