blob: dfa3c9593daf5cdc4835797823725dbc8cac3e2d (
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 10:30:59 -0400
Subject: [PATCH] buildmacros: fix install with user\domain
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 805ef64d8d57..29e937e077c8 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
|