diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ LDLIBS=-lgc -lm -lunistring -lgmp LIBTOMO_FLAGS=-shared DEFINE_AS_OWNER=as_owner() { \ - if [ "$$USER" = "$(OWNER)" ]; then \ + if [ -w '$(PREFIX)' ]; then \ "$$@"; \ else \ $(SUDO) -u "$(OWNER)" "$$@"; \ |
