A bug in 'make DESTDIR=... install'?

I have configured OCC with './configure --prefix=/usr/local/occ'. When I tried to install with 'make DESTDIR=/tmp install', the command '/usr/bin/install -c -d /usr/local/occ' was executed before the end of the installation process, producing an error since I was not the super user.

J. K.'s picture

try this patch

zlb's picture

The patch works fine. Thanks for the quick fix!