- Code: Select all
# make install
mkdir -p /sbin
/usr/bin/install -c -m 0755 gradm /sbin
/usr/bin/strip /sbin/gradm
/usr/bin/install -c -m 0700 grlearn /sbin
/usr/bin/strip /sbin/grlearn
mkdir -p -m 700 /etc/grsec
mv: cannot stat `/etc/grsec/acl': No such file or directory
make: *** [install] Error 1
Code that causes the problem:
- Code: Select all
@if [ ! -f $(DESTDIR)$(GRSEC_DIR)/policy ] ; then \
if [ ! -f $(DESTDIR)$(GRSEC_DIR)/acl ] ; then \
mv $(DESTDIR)$(GRSEC_DIR)/acl $(DESTDIR)$(GRSEC_DIR)/policy ; \
else \
$(INSTALL) -m 0600 policy $(DESTDIR)$(GRSEC_DIR) ; \
fi \
fi
Apparently, the
- Code: Select all
if [ ! -f $(DESTDIR)$(GRSEC_DIR)/acl ]
- Code: Select all
if [ -f $(DESTDIR)$(GRSEC_DIR)/acl ]