Permalink
Browse files

*** empty log message ***

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@950 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information...
1 parent 268b417 commit 56254f6726387b62664367bcbfa3d8056c2c13a6 @klacke committed Mar 9, 2006
Showing with 6 additions and 4 deletions.
  1. +6 −4 c_src/Makefile
View
@@ -26,11 +26,13 @@ clean:
-rm -f $(PRIV_FILES) setuid_drv.$(OBJ)
install:
- install -d $(INSTALLPREFIX)/lib/yaws/priv
- install $(PRIV_FILES) $(INSTALLPREFIX)/lib/yaws/priv
+ $(INSTALL) -d $(INSTALLPREFIX)/lib/yaws/priv
+ $(INSTALL) $(PRIV_FILES) $(INSTALLPREFIX)/lib/yaws/priv
ifndef WIN32
- chown root $(INSTALLPREFIX)/lib/yaws/priv/epam
- chmod a+s $(INSTALLPREFIX)/lib/yaws/priv/epam
+ if [ `id -u` = "0" ]; then \
+ chown root $(INSTALLPREFIX)/lib/yaws/priv/epam; \
+ chmod a+s $(INSTALLPREFIX)/lib/yaws/priv/epam; \
+ fi
endif

0 comments on commit 56254f6

Please sign in to comment.