Accepting request 1104190 from home:dimstar:Factory

- xznew: Remove bashsism.
- build: pass CONFIG_SHELL=/bin/sh to configure: the posix tools
  are setting the current SHELL as the shebang, which is overkill:
  any posix compliant shell, aka /bin/sh, is sufficient.

OBS-URL: https://build.opensuse.org/request/show/1104190
OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=138
This commit is contained in:
Stephan Kulow
2023-08-21 05:30:48 +00:00
committed by Git OBS Bridge
parent 39215a7095
commit 773b5dd4df
3 changed files with 10 additions and 2 deletions

2
xznew
View File

@@ -52,7 +52,7 @@ if test -z "$cpmod" && ${TOUCH-touch} -r $tmp/1 $tmp/2 2>/dev/null; then
fi
# check about xz extension
xz $tmp/1 &> /dev/null
xz $tmp/1 > /dev/null 2>&1
ext=`echo $tmp/1* | sed "s|$tmp/1||"`
rm -rf $tmp/
trap - 0 1 2 3 6 13 15