Changeset 13688ec


Ignore:
Timestamp:
2011-03-19T14:02:49Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ff94563
Parents:
c14959d
Message:

fakeroot is now known as fuckroot; it changes $UID but $USER is still
non-root. And make only passes through $USER, not $UID. So we end up
shelling out to id to figure out if we're root. :-/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rc14959d r13688ec  
    118118install-systemd:
    119119ifdef SYSTEMDSYSTEMUNITDIR
    120 ifeq ($(USER),root)
     120ifeq ($(shell id -u),0)
    121121        mkdir -p $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR)
    122122        install -m 0644 init/bitlbee.service $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR)
Note: See TracChangeset for help on using the changeset viewer.