diff options
| author | Michael Biebl <biebl@debian.org> | 2025-02-12 13:46:50 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2025-02-12 13:46:50 +0100 |
| commit | 8bdf070ff046f482f6eb5e2b15ebc216f5d1e3da (patch) | |
| tree | f706478d189d54c6532e8863d4b0d5ff5575af60 /contrib/fedora/utils | |
| parent | 818258cf34b83fbc754633295e1052d4752d7b15 (diff) | |
New upstream version 1.51.90 upstream/1.51.90
Diffstat (limited to 'contrib/fedora/utils')
| -rwxr-xr-x | contrib/fedora/utils/makerepo.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/fedora/utils/makerepo.sh b/contrib/fedora/utils/makerepo.sh index 266aac8f..e81c478b 100755 --- a/contrib/fedora/utils/makerepo.sh +++ b/contrib/fedora/utils/makerepo.sh @@ -262,6 +262,12 @@ detect_dirname() { # the unpacked tarball (that is, stripping the suffix). for T in $(ls -1 "$BUILD_TYPE"*"$suffix" 2>/dev/null); do D="${T%$suffix}" + # At some point FEDPKG changed the behavior of "prep" command + # now it generates the directory with "-build" suffix and the + # real directory inside. We just move it out. + rm -rf $D + mv $D-build/$D . + rm -rf $D-build [[ -d "$D" ]] && DIRS=("${DIRS[@]}" "$D") done done |