hooks/script-wrapper: multiple run protection.
This commit is contained in:
parent
a8ac3af3a4
commit
0e42bf442e
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,7 @@ _EOF
|
|||
|
||||
hook() {
|
||||
[ -z "$CROSS_BUILD" ] && return 0
|
||||
[ -e "$XBPS_WRAPPERDIR/done" ] && return 0
|
||||
|
||||
# create wrapers
|
||||
pkgconfig_wrapper
|
||||
|
@ -110,5 +111,6 @@ hook() {
|
|||
python_wrapper python-config 2.7
|
||||
python_wrapper python3.4-config 3.4m
|
||||
|
||||
touch $XBPS_WRAPPERDIR/done
|
||||
export PATH="$XBPS_WRAPPERDIR:$PATH"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue