aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xbuild_tools/make_build_h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3b2b7bd4f..28c76cf94 100644
--- a/Makefile
+++ b/Makefile
@@ -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
/*