rpmbuild: fix rpmtopdir redefinition
Erasing this variable by default makes outside definition useless. Signed-off-by: Andrey Maslennikov <andreyma@mellanox.com> (cherry picked from commit c7d51a3a837206cb4dc2ca8aa15d5b8f59598db4)
Этот коммит содержится в:
родитель
3a584fee53
Коммит
547b7da664
1
contrib/dist/linux/buildrpm.sh
поставляемый
1
contrib/dist/linux/buildrpm.sh
поставляемый
@ -267,7 +267,6 @@ fi
|
||||
# Find where the top RPM-building directory is
|
||||
#
|
||||
|
||||
rpmtopdir=
|
||||
file=~/.rpmmacros
|
||||
if test -r $file; then
|
||||
rpmtopdir=${rpmtopdir:-"`grep %_topdir $file | awk '{ print $2 }'`"}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user