Revert "dependencies: ensure that DESTDIR isn't set when running Buildroot"
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 2 Jul 2012 04:21:13 +0000 (04:21 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 2 Jul 2012 18:22:33 +0000 (20:22 +0200)
We should instead simply unset it at runtime, like we do for
PKG_CONFIG_PATH.

This reverts commit 9910eba33adb2b783b0df5d90a857816e82fbd55.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
support/dependencies/dependencies.sh

index 43ec3cc0f9a315eb5a492fc53610ebe1b009bf84..c47ffcf43cc319bfe7caf1c0e6b2a0e359d2a1dd 100755 (executable)
@@ -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";