summaryrefslogtreecommitdiffstats
path: root/patches/attr-2.4.47/0001-fix-install-with-domain-user.patch
blob: 893f766304d65e2081d9416d557eba6f0bdc4587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Jon Ringle <jon@ringle.org>
Date: Mon, 23 May 2011 09:27:46 -0400
Subject: [PATCH] fix install with domain\user

If current user is domain\user the \ gets interpreted as an escape char
resulting in user not found.

Enclose "$(PKG_USER)" and "$(PKG_GROUP)" in quotes to fix.

Signed-off-by: Jon Ringle <jon@ringle.org>
---
 include/buildmacros | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/buildmacros b/include/buildmacros
index 9e81bb8..939f39b 100644
--- a/include/buildmacros
+++ b/include/buildmacros
@@ -40,7 +40,7 @@ OBJECTS = $(ASFILES:.s=.o) \
 	  $(LFILES:.l=.o) \
 	  $(YFILES:%.y=%.tab.o)
 
-INSTALL	= $(TOPDIR)/include/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
+INSTALL	= $(TOPDIR)/include/install-sh -o "$(PKG_USER)" -g "$(PKG_GROUP)"
 
 IMAGES_DIR = $(TOPDIR)/all-images
 DIST_DIR = $(TOPDIR)/dist