Commit 69b23602 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

Revert "dependencies: ensure that DESTDIR isn't set when running Buildroot"



We should instead simply unset it at runtime, like we do for
PKG_CONFIG_PATH.

This reverts commit 9910eba3.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 68b2218c
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -48,12 +48,6 @@ if test -n "$PERL_MM_OPT" ; then
    exit 1
fi

if test -n "$DESTDIR" ; then
    /bin/echo -e "\nYou have the DESTDIR environment variable set. Please"
    /bin/echo -e "unset it so that Buildroot can work properly."
    exit 1
fi

# Verify that which is installed
if ! which which > /dev/null ; then
	/bin/echo -e "\nYou must install 'which' on your build machine\n";