summaryrefslogtreecommitdiff
path: root/package/at
diff options
context:
space:
mode:
Diffstat (limited to 'package/at')
-rw-r--r--package/at/at.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/package/at/at.mk b/package/at/at.mk
index c0afdf92d..66f766731 100644
--- a/package/at/at.mk
+++ b/package/at/at.mk
@@ -42,10 +42,9 @@ $(AT_DIR)/$(AT_BINARY): $(AT_DIR)/.configured
$(TARGET_DIR)/$(AT_TARGET_BINARY): $(AT_DIR)/$(AT_BINARY)
# Use fakeroot to pretend to do 'make install' as root
- rm -f $(STAGING_DIR)/.fakeroot.at
- $(STAGING_DIR)/usr/bin/fakeroot -s $(STAGING_DIR)/.fakeroot.at -- \
- $(MAKE) DAEMON_USERNAME=root DAEMON_GROUPNAME=root \
- $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) -C $(AT_DIR) install
+ echo "$(MAKE) DAEMON_USERNAME=root DAEMON_GROUPNAME=root " \
+ "$(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) -C $(AT_DIR) install" \
+ > $(STAGING_DIR)/.fakeroot.at
$(INSTALL) -m 0755 -D $(AT_DIR)/debian/rc $(TARGET_DIR)/etc/init.d/S99at
rm -rf $(TARGET_DIR)/usr/man