buildpkg.functions: style cleanup in generic_install()
This commit is contained in:
parent
a61b3bb05f
commit
a8454b7c03
@ -909,12 +909,8 @@ makeinstall()
|
||||
generic_install()
|
||||
{
|
||||
local dest="$stagedir"
|
||||
local destvar=DESTDIR
|
||||
local arg1=${1-'x'}
|
||||
local destvar=${1:-DESTDIR}
|
||||
|
||||
if [ "$arg1" != "x" ]; then
|
||||
destvar=$arg1 # $1 was defined
|
||||
fi
|
||||
if [ "$custom_install" -eq 0 ]; then
|
||||
clean stage
|
||||
[ "$shortroot" -eq 1 ] && dest="${stagedir}${prefix}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user