autoport: rebuild dependant mode: do not add empty epoch value if empty
This commit is contained in:
parent
fcc2302ac9
commit
aecf691938
4
autoport
4
autoport
@ -419,7 +419,9 @@ for TARGET_ARCH in ${TARGET_ARCHS}; do
|
||||
if [ "${currprovider/-devel}" == "$currprovider" ]; then
|
||||
currprovider=${currprovider}-devel
|
||||
fi
|
||||
currjobscriptargs="$currjobscriptargs --buildreq ${currprovider} >= ${port_pkg_epoch}:${port_pkg_version}-${port_pkg_release} "
|
||||
add_epoch=""
|
||||
[ "${port_pkg_epoch}" ] && add_epoch="${port_pkg_epoch}:"
|
||||
currjobscriptargs="$currjobscriptargs --buildreq ${currprovider} >= ${add_epoch}${port_pkg_version}-${port_pkg_release} "
|
||||
done
|
||||
[ "$currjobscriptargs" ] && JOB_SCRIPTARGS[$JOBNUM-1]="$currjobscriptargs"
|
||||
echo "Package dependant from $j to rebuild: ${JOB[*]}"
|
||||
|
Loading…
Reference in New Issue
Block a user