From: William Xu <william.xwl@gmail.com>
To: emacs-devel@gnu.org
Subject: Makefile.in: $LOGNAME and $USERNAME not always set
Date: Fri, 26 Oct 2007 16:24:56 +0900 [thread overview]
Message-ID: <m2zly69w3b.fsf@gmail.com> (raw)
There are some lines in Makefile.in running `chown' like this:
,----
| find $${dest} -exec chown $${LOGNAME:-$$USERNAME} {} ';' ;\
`----
While in macosx, both LOGNAME and USERNAME is unset, thus I got lots of
chown errors while `make install':
,----
| usage: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ...
| chown [-fhv] [-R [-H | -L | -P]] :group file ...
`----
I checked gnu/linux, solaris, they have set $LOGNAME, $USER; macosx has
only set $USER. None of them have set $USERNAME. So it's problematic
here, expecially on macosx. When $LOGNAME is empty, can we fall down to
$USER instead?
--
William
next reply other threads:[~2007-10-26 7:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-26 7:24 William Xu [this message]
2007-10-26 18:34 ` Makefile.in: $LOGNAME and $USERNAME not always set Stefan Monnier
2007-10-27 2:13 ` CHENG Gao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2zly69w3b.fsf@gmail.com \
--to=william.xwl@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.