diff options
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | build_tools/make_build_h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -543,7 +543,7 @@ clean: $(MAKE) -C stdtime clean datafiles: all - if [ x`whoami` = xroot ]; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi + if [ x`id -un` = xroot ]; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/digits mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/priv-callerintros for x in sounds/digits/*.gsm; do \ diff --git a/build_tools/make_build_h b/build_tools/make_build_h index cd6391a88..a9b041985 100755 --- a/build_tools/make_build_h +++ b/build_tools/make_build_h @@ -3,7 +3,7 @@ HOSTNAME=`uname -n` KERNEL=`uname -r` MACHINE=`uname -m` OS=`uname -s` -USER=`whoami` +USER=`id -un` DATE=`date -u "+%Y-%m-%d %H:%M:%S"` cat << END /* |