diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-02-08 15:55:04 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-02-08 15:55:04 +0000 |
commit | c530bc1da19b17c5a3d302054f2abb280a86dcb1 (patch) | |
tree | 4311f2e585d8e3033826f92597b54b19859c2e50 | |
parent | 321d2f0e5667fd3d10e9cd41aa80818bad71ebdc (diff) |
Dont choke when chown fails. Try to be more portable...
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ install_dev: -@for i in `find $(PREFIX)$(DEVEL_PREFIX) -type d` ; do \ chmod -f 755 $$i; chmod -f 644 $$i/*.h; \ done; - (NAME=`id -u`; GROUP=`id -g`; chown -R $$NAME.$$GROUP $(PREFIX)$(DEVEL_PREFIX)) + -chown -R `id | sed 's/^uid=\([0-9]*\).*gid=\([0-9]*\).*$/\1.\2/'` $(PREFIX)$(DEVEL_PREFIX) ifeq ($(strip $(HAVE_SHARED)),true) find lib/ -type l -name '*.so' -exec cp -a {} $(PREFIX)$(DEVEL_PREFIX)/lib ';' endif |