mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 07:40:12 +01:00
makerepo: handle new SHA512 sources to detect build-directory
This commit is contained in:
parent
b6448f1416
commit
b0870096f2
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ detect_dirname() {
|
|||
local SOURCES
|
||||
local D suffix T
|
||||
|
||||
SOURCES=$(sed 's/.* //' ./sources 2>/dev/null)
|
||||
SOURCES="$(sed 's/^\(SHA512 (\(.*\)) = [0-9a-f]\{128\}\|\([0-9a-f]\{32\} \+\(.*\)\)\)$/\2\4/' ./sources 2>/dev/null)"
|
||||
|
||||
for suffix in .tar.gz .tar.bz .tar.xz .tgz .tar.bz2 ; do
|
||||
for T in ${SOURCES[@]}; do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue