diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-05 19:56:44 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-05 19:56:44 +0000 |
| commit | afb5832780c297900c8f0532c7781a381d28740f (patch) | |
| tree | 85f3951b4d38c07fb054f2173d93252520eb207e /dev-util/debugedit/files/debugedit-5.2-bashism.patch | |
| parent | 3f9f4e97c1ac6ba1b1d0590e4c70afeb592c172b (diff) | |
| download | srcux-afb5832780c297900c8f0532c7781a381d28740f.tar.gz srcux-afb5832780c297900c8f0532c7781a381d28740f.tar.xz srcux-afb5832780c297900c8f0532c7781a381d28740f.zip | |
Adding metadata
Diffstat (limited to 'dev-util/debugedit/files/debugedit-5.2-bashism.patch')
| -rw-r--r-- | dev-util/debugedit/files/debugedit-5.2-bashism.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-util/debugedit/files/debugedit-5.2-bashism.patch b/dev-util/debugedit/files/debugedit-5.2-bashism.patch deleted file mode 100644 index 8f5bd0eac227..000000000000 --- a/dev-util/debugedit/files/debugedit-5.2-bashism.patch +++ /dev/null @@ -1,35 +0,0 @@ -https://sourceware.org/cgit/debugedit/commit/?id=40b9c550dd2f94a069f3bedf51ceb310d7487d88 - -From 40b9c550dd2f94a069f3bedf51ceb310d7487d88 Mon Sep 17 00:00:00 2001 -From: Michał Górny <mgorny@gentoo.org> -Date: Tue, 8 Jul 2025 07:40:20 +0200 -Subject: tests/debugedit.at: Replace 'type -p' bashism -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Replace 'type -p' with more portable 'command -v', in order to fix -running the test suite on non-bash shells. Note that while the test -itself invokes bash, the backticks are evaluated within the context -of the shell used by autotest. - -Signed-off-by: Michał Górny <mgorny@gentoo.org> ---- - tests/find-debuginfo.at | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/find-debuginfo.at b/tests/find-debuginfo.at -index 5552ce1..dd59374 100644 ---- a/tests/find-debuginfo.at -+++ b/tests/find-debuginfo.at -@@ -67,7 +67,7 @@ AT_CHECK([$READELF --debug-dump=line subdir_build/dupes.a | grep `pwd`], [0], [s - - # run conversion, under bash -x tracing for fuller testing log - AT_CHECK([[env RPM_BUILD_DIR=${PWD} RPM_BUILD_ROOT=${PWD} RPM_PACKAGE_NAME=pkg RPM_PACKAGE_VERSION=ver RPM_PACKAGE_RELEASE=rel RPM_ARCH=arch \ -- bash -x `type -p find-debuginfo` -S sourcefiles.list -v ${PWD}/subdir_build]], [0], [stdout], [ignore]) -+ bash -x `command -v find-debuginfo` -S sourcefiles.list -v ${PWD}/subdir_build]], [0], [stdout], [ignore]) - - # list new .a contents; ar tPv contains timestamps / subdirs, so not a good fit for AT_DATA() here - AT_CHECK([$AR tPv subdir_build/dupes.a],[0],[stdout],[ignore]) --- -cgit |
