Repository: hadoop
Updated Branches:
  refs/heads/trunk 22f85f292 -> e3342a1ab


HADOOP-15802. start-build-env.sh creates an invalid 
/etc/sudoers.d/hadoop-build-${USER_ID} file entry. Contributed by Jon Boone.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e3342a1a
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e3342a1a
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e3342a1a

Branch: refs/heads/trunk
Commit: e3342a1abaff71823ebd952baf24a6143e711b99
Parents: 22f85f2
Author: Akira Ajisaka <aajis...@apache.org>
Authored: Wed Oct 17 10:11:44 2018 +0900
Committer: Akira Ajisaka <aajis...@apache.org>
Committed: Wed Oct 17 10:12:57 2018 +0900

----------------------------------------------------------------------
 start-build-env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/e3342a1a/start-build-env.sh
----------------------------------------------------------------------
diff --git a/start-build-env.sh b/start-build-env.sh
index c5581ca..bf6b411 100755
--- a/start-build-env.sh
+++ b/start-build-env.sh
@@ -61,7 +61,7 @@ docker build -t "hadoop-build-${USER_ID}" - 
<<UserSpecificDocker
 FROM hadoop-build
 RUN groupadd --non-unique -g ${GROUP_ID} ${USER_NAME}
 RUN useradd -g ${GROUP_ID} -u ${USER_ID} -k /root -m ${USER_NAME}
-RUN echo "${USER_NAME}\tALL=NOPASSWD: ALL" > 
"/etc/sudoers.d/hadoop-build-${USER_ID}"
+RUN echo -e "${USER_NAME}\tALL=NOPASSWD: ALL" > 
"/etc/sudoers.d/hadoop-build-${USER_ID}"
 ENV HOME /home/${USER_NAME}
 
 UserSpecificDocker


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to