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