Skip to content

Commit

Permalink
Fix target location
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Apr 3, 2023
1 parent aa66799 commit fa14e4d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions bin/buildrpms
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,13 @@ do
then
cd "$t"
if tar -xof "${t}.lnk" "$v"
then cp -sf "$t/$v" SOURCES/
else printf %s "$sPre" | grep '^Source[0-9]*:.*\.rpmlintrc' && sed -i 's/\(^Source[0-9]*:.*\.rpmlintrc.*$\)/#\1/' "$t/$v"
then
cd "$MyPWD"
cp -sf "$t/$v" SOURCES/
else
cd "$MyPWD"
printf %s "$sPre" | grep '^Source[0-9]*:.*\.rpmlintrc' && sed -i 's/\(^Source[0-9]*:.*\.rpmlintrc.*$\)/#\1/' "$t/$v"
fi
cd "$MyPWD"
fi
case "$(find -L RPMS -maxdepth 2 -name "${sNVR}.[Rr][Pp][Mm]" -print | wc -l)_$(find -L SRPMS -maxdepth 1 -name "${sNVR}.[Ss]*[Rr][Pp][Mm]" -print | wc -l)" in
0_0)
Expand Down

0 comments on commit fa14e4d

Please sign in to comment.