mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 13:28:35 +00:00
Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.
Changes-By: lintian-brush Fixes: lintian: uses-deprecated-adttmp See-also: https://lintian.debian.org/tags/uses-deprecated-adttmp.html
This commit is contained in:
parent
e461697a7a
commit
cb42a277c7
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
llvm-toolchain-9 (1:9.0.1-16) UNRELEASED; urgency=low
|
||||
|
||||
* Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 23 Oct 2020 09:32:39 -0000
|
||||
|
||||
llvm-toolchain-9 (1:9.0.1-15) unstable; urgency=medium
|
||||
|
||||
* Ensure fixfilepath feature is disabled. The fixfilepath
|
||||
|
8
debian/tests/cmake-test
vendored
8
debian/tests/cmake-test
vendored
@ -3,18 +3,18 @@
|
||||
set -e
|
||||
|
||||
# this is taken from libjsoncpp package
|
||||
# Presence of $ADTTMP implies that someone will handle cleanup for us, so we
|
||||
# Presence of $AUTOPKGTEST_TMP implies that someone will handle cleanup for us, so we
|
||||
# can avoid duplicating the effort (signal handling, etc.) here.
|
||||
if [ -z "$ADTTMP" ]
|
||||
if [ -z "$AUTOPKGTEST_TMP" ]
|
||||
then
|
||||
echo "Required envvar ADTTMP \"$ADTTMP\" is not set" >&2
|
||||
echo "Required envvar AUTOPKGTEST_TMP \"$AUTOPKGTEST_TMP\" is not set" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# the idea was taken from spirv-llvm-translator package
|
||||
|
||||
cd "$ADTTMP"
|
||||
cd "$AUTOPKGTEST_TMP"
|
||||
cat <<EOF > CMakeLists.txt
|
||||
cmake_minimum_required(VERSION 2.6.2)
|
||||
project(cmake-test)
|
||||
|
Loading…
Reference in New Issue
Block a user