fix make install target if user name != group name
diff --git a/got/Makefile b/got/Makefile
index da5fa39..1336114 100644
--- a/got/Makefile
+++ b/got/Makefile
@@ -11,8 +11,9 @@ DEBUG = -O0 -g
CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
# For now, default to installing binary in ~/bin
+GROUP!=id -g -n
install:
- ${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${USER} \
+ ${INSTALL} ${INSTALL_COPY} -o ${USER} -g ${GROUP} \
-m ${BINMODE} ${PROG} ${HOME}/bin/${PROG}
# Don't install man pages yet