diff --git a/scripts/build/debug/400-ltrace.sh b/scripts/build/debug/400-ltrace.sh index 06d34cda..7c017e59 100644 --- a/scripts/build/debug/400-ltrace.sh +++ b/scripts/build/debug/400-ltrace.sh @@ -4,10 +4,11 @@ do_debug_ltrace_get() { CT_GetFile "ltrace_${CT_LTRACE_VERSION}.orig" .tar.gz \ {ftp,http}://ftp.de.debian.org/debian/pool/main/l/ltrace/ # Create a link so that the following steps are easier to do: - cd "${CT_TARBALLS_DIR}" + CT_Pushd "${CT_TARBALLS_DIR}" ltrace_ext=$(CT_GetFileExtension "ltrace_${CT_LTRACE_VERSION}.orig") ln -sf "ltrace_${CT_LTRACE_VERSION}.orig${ltrace_ext}" \ "ltrace-${CT_LTRACE_VERSION}${ltrace_ext}" + CT_Popd } do_debug_ltrace_extract() {