summaryrefslogtreecommitdiff
path: root/make/unit-cc.pl
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-28 01:43:47 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-28 01:43:47 +0000
commitc7e90323583875f9029df6b012ce604f4d3ddb87 (patch)
tree3f5b8d44cdeed782455c5bcc4608207bb166cfa6 /make/unit-cc.pl
parentd5e36aa2b2ca26fe689ae9e29c74b3565dd018c7 (diff)
Add directory change to unit-cc, to fix the immensely stupid BSD make behavior of changing directories
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11772 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/unit-cc.pl')
-rwxr-xr-xmake/unit-cc.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/unit-cc.pl b/make/unit-cc.pl
index d4786b8fe..23a7dfb76 100755
--- a/make/unit-cc.pl
+++ b/make/unit-cc.pl
@@ -4,6 +4,8 @@ use warnings;
BEGIN { push @INC, $ENV{SOURCEPATH}; }
use make::configure;
+chdir $ENV{BUILDPATH};
+
my $out = shift;
my $verbose;