* INSTALL scripts don't need to be executable * anything installed by vbin is set to 755 * many of these files were otherwise marked executable in the template (vinstall, chmod, etc) * some had no business being executable, like the smattering of patches and other files * remove files from chroot-distcc no longer used in the template (46ce787b63d467d9b8e5ef8821e2ddefea4b980a)
13 lines
520 B
Bash
13 lines
520 B
Bash
#!/bin/sh
|
|
#
|
|
# Check if we are running in an xbps-src environment and run the wrapper if that
|
|
# is the case.
|
|
if [ -n "$XBPS_CROSS_BASE" -a -n "$XBPS_TARGET_MACHINE" -a -n "$XBPS_VERSION" ]; then
|
|
# wrapper for @TOOL@, which runs the target version of it through qemu.
|
|
# gi-compile-repository, for example, writes out the raw content of a C struct to disk,
|
|
# and therefore is architecture dependent.
|
|
exec /usr/bin/gi-xbps-qemuwrapper ${XBPS_CROSS_BASE}/usr/bin/@TOOL@.wrapped "$@"
|
|
fi
|
|
|
|
exec /usr/bin/@TOOL@.wrapped "$@"
|