Merge lp:~zeller-benjamin/qtcreator-plugin-ubuntu/lp1476647 into lp:qtcreator-plugin-ubuntu

Proposed by Benjamin Zeller
Status: Merged
Approved by: Zoltan Balogh
Approved revision: 424
Merged at revision: 430
Proposed branch: lp:~zeller-benjamin/qtcreator-plugin-ubuntu/lp1476647
Merge into: lp:qtcreator-plugin-ubuntu
Diff against target: 18 lines (+3/-1)
1 file modified
share/qtcreator/ubuntu/scripts/local_create_emulator (+3/-1)
To merge this branch: bzr merge lp:~zeller-benjamin/qtcreator-plugin-ubuntu/lp1476647
Reviewer Review Type Date Requested Status
Zoltan Balogh Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+278672@code.launchpad.net

Commit message

Fix Bug lp:1476647 local_create_emulator chowns with group name same as user name

Description of the change

Fix Bug lp:1476647 local_create_emulator chowns with group name same as user name

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Zoltan Balogh (bzoltan) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'share/qtcreator/ubuntu/scripts/local_create_emulator'
2--- share/qtcreator/ubuntu/scripts/local_create_emulator 2014-11-27 12:26:56 +0000
3+++ share/qtcreator/ubuntu/scripts/local_create_emulator 2015-11-26 08:09:13 +0000
4@@ -24,6 +24,8 @@
5 WHOAMI=$6
6 USERHOME=$7
7
8+GROUP=$(id -gn ${WHOAMI})
9+
10 if [[ -z ${EMULATOR_CHANNEL} ]]; then
11 EMULATOR_CHANNEL="devel"
12 fi
13@@ -35,5 +37,5 @@
14 fi
15
16 HOME=${USERHOME} /usr/bin/ubuntu-emulator create ${EMULATOR_NAME} --arch=${EMULATOR_ARCH} --channel=${EMULATOR_CHANNEL} --password=${EMULATOR_PASSWORD}
17-chown ${WHOAMI}:${WHOAMI} ${EMULATOR_PATH} -R
18+chown ${WHOAMI}:${GROUP} ${EMULATOR_PATH} -R
19

Subscribers

People subscribed via source and target branches