From 9989c90018fd787295559f6f730a62d18b9f916a Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Thu, 1 May 2008 17:13:48 +0000 Subject: [PATCH] more quoting to get spaces in username/groupname working right svn path=/main/branches/prefix/; revision=10060 --- bin/Makefile.in | 2 +- cnf/Makefile.in | 2 +- configure.in | 4 ++-- pym/Makefile.in | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/Makefile.in b/bin/Makefile.in index d8c42a7ff..850cbdb5b 100644 --- a/bin/Makefile.in +++ b/bin/Makefile.in @@ -12,7 +12,7 @@ portagegroup = @portagegroup@ PORTAGE_BIN = @PORTAGE_BASE@/bin LN_S = @LN_S@ INSTALL = @INSTALL@ -INSTALL_script = @INSTALL_PROGRAM@ -o $(portageuser) -g $(portagegroup) -m 755 +INSTALL_script = @INSTALL_PROGRAM@ -o "$(portageuser)" -g "$(portagegroup)" -m 755 INSTALL_scriptsubst = $(SHELL) ${top_builddir}/subst-install --installcmd='${INSTALL_script}' user_binprogs = \ diff --git a/cnf/Makefile.in b/cnf/Makefile.in index 4100b1bb8..9e4c668c7 100644 --- a/cnf/Makefile.in +++ b/cnf/Makefile.in @@ -10,7 +10,7 @@ portageuser = @portageuser@ portagegroup = @portagegroup@ INSTALL = @INSTALL@ -INSTALL_cnf = @INSTALL_PROGRAM@ -o $(portageuser) -g $(portagegroup) -m 644 +INSTALL_cnf = @INSTALL_PROGRAM@ -o "$(portageuser)" -g "$(portagegroup)" -m 644 INSTALL_cnfsubst = $(SHELL) ${top_builddir}/subst-install --installcmd='${INSTALL_cnf}' list_sourcedir = \ diff --git a/configure.in b/configure.in index c07692d95..45483b6c1 100644 --- a/configure.in +++ b/configure.in @@ -187,9 +187,9 @@ AC_ARG_WITH(root-user, AC_HELP_STRING([--with-root-user=myuser],[uses 'myuser' as owner of installed files (default is portage-user)]), [case "${withval}" in ""|yes) AC_MSG_ERROR(bad value ${withval} for --with-root-user);; - *) rootuser=${withval};; + *) rootuser="${withval}";; esac], -[rootuser=${portageuser}]) +[rootuser="${portageuser}"]) AC_MSG_CHECKING([for user id of ${rootuser}]) dnl grab uid of rootuser diff --git a/pym/Makefile.in b/pym/Makefile.in index b7e94c819..b6c4e884e 100644 --- a/pym/Makefile.in +++ b/pym/Makefile.in @@ -12,7 +12,7 @@ portagegroup = @portagegroup@ PORTAGE_PYM = @PORTAGE_BASE@/pym INSTALL = @INSTALL@ -INSTALL_PY = @INSTALL_DATA@ -o $(portageuser) -g $(portagegroup) +INSTALL_PY = @INSTALL_DATA@ -o "$(portageuser)" -g "$(portagegroup)" INSTALL_PYsubst = $(SHELL) ${top_builddir}/subst-install --installcmd='${INSTALL_PY}' list_sourcedir_dirs = \ -- 2.26.2