Skip to content

Commit 3199a08

Browse files
committed
scripts/chroot-fixups/rpm-macros.sh: avoid use of /dev/stderr
... which results in the following error: /var/tmp/rpm-tmp.0DE51f: line 81: /dev/stderr: Permission denied ... while scanning python-flit-3.0.0-3.el9
1 parent 86776a8 commit 3199a08

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
file="/usr/lib/rpm/macros.d/macros.pyproject"
4+
if [ -w ${file} ]; then
5+
(set -x; sed -e 's|> */dev/stderr|>\&2|' -i ${file})
6+
fi

0 commit comments

Comments
 (0)