xLua - Lua C++ API

Check-in [e4f6c764cb]
Login
Overview
Comment:Preserve PATH when invoking sudo The new Travis CI Precise infrastructure seems to enforce env_reset in the sudo configuration and does not allow using the -E flag to bypass it. Instead, explicitly pass the PATH to the 'make distcheck' sudo invocation so that it can find the right tools. This fixes the AS_ROOT=yes builds after we were silently switched to the new infrastructure. Same as jmmv/kyua@abe209b58ba7f49d190ec809be99676430b5d5ec.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:e4f6c764cbfbfc7aa7ffc7c96c1a2e7ef81c1868fe9e2df32dd8e4181295ace7
User & Date: julio@meroh.net 2016-07-18 20:02:11
Context
2016-07-18
20:02
Add 32-bit builds to Travis CI check-in: 3e4a71f080 user: julio@meroh.net tags: master, trunk
20:02
Preserve PATH when invoking sudo The new Travis CI Precise infrastructure seems to enforce env_reset in the sudo configuration and does not allow using the -E flag to bypass it. Instead, explicitly pass the PATH to the 'make distcheck' sudo invocation so that it can find the right tools. This fixes the AS_ROOT=yes builds after we were silently switched to the new infrastructure. Same as jmmv/kyua@abe209b58ba7f49d190ec809be99676430b5d5ec. check-in: e4f6c764cb user: julio@meroh.net tags: master, trunk
2014-09-14
11:50
Remove the only sub-Makefile.am.inc We have more than one top-level directory in the project so it does not make sense to only recurse into one to find Makefile.am.inc files. Get rid of the lonely instance of this instead of sharding the already-simple top-level Makefile.am. check-in: 89ff6d306b user: jmmv@google.com tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to admin/travis-build.sh.

37
38
39
40
41
42
43
44
45
46
47
./configure

f=
f="${f} CPPFLAGS='-I/usr/local/include'"
f="${f} LDFLAGS='-L/usr/local/lib -Wl,-R/usr/local/lib'"
f="${f} PKG_CONFIG_PATH='/usr/local/lib/pkgconfig'"
if [ "${AS_ROOT:-no}" = yes ]; then
    sudo make distcheck DISTCHECK_CONFIGURE_FLAGS="${f}"
else
    make distcheck DISTCHECK_CONFIGURE_FLAGS="${f}"
fi







|



37
38
39
40
41
42
43
44
45
46
47
./configure

f=
f="${f} CPPFLAGS='-I/usr/local/include'"
f="${f} LDFLAGS='-L/usr/local/lib -Wl,-R/usr/local/lib'"
f="${f} PKG_CONFIG_PATH='/usr/local/lib/pkgconfig'"
if [ "${AS_ROOT:-no}" = yes ]; then
    sudo -H PATH="${PATH}" make distcheck DISTCHECK_CONFIGURE_FLAGS="${f}"
else
    make distcheck DISTCHECK_CONFIGURE_FLAGS="${f}"
fi