~ci-train-bot/ubuntu-touch-session/ubuntu-touch-session-ubuntu-yakkety-landing-046

« back to all changes in this revision

Viewing changes to ubuntu-touch-session

  • Committer: Bileto Bot
  • Author(s): Łukasz 'sil2100' Zemczak
  • Date: 2016-08-17 13:52:29 UTC
  • mfrom: (286.2.1 ubuntu-touch-session)
  • Revision ID: ci-train-bot@canonical.com-20160817135229-cl5f1qpyz6vdburm
Do not save the ubuntu-touch-session environment to the local .profile files as this is not required (and bad practice).

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
export QTWEBKIT_DPR=${QTWEBKIT_DPR}
47
47
export NATIVE_ORIENTATION=${NATIVE_ORIENTATION}
48
48
 
49
 
# Save in bashrc so that adb picks them up (for autopilot's benefit)
50
 
dot_profile=$HOME/.profile
51
 
grep -q GRID_UNIT_PX $dot_profile || echo "export GRID_UNIT_PX=${GRID_UNIT_PX}" >> $dot_profile
52
 
grep -q QTWEBKIT_DPR $dot_profile || echo "export QTWEBKIT_DPR=${QTWEBKIT_DPR}" >> $dot_profile
53
 
grep -q NATIVE_ORIENTATION $dot_profile || echo "export NATIVE_ORIENTATION=${NATIVE_ORIENTATION}" >> $dot_profile
54
 
grep -q XDG_CONFIG_DIRS $dot_profile || echo "export XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS}" >> $dot_profile
55
 
grep -q XDG_DATA_DIRS $dot_profile || echo "export XDG_DATA_DIRS=${XDG_DATA_DIRS}" >> $dot_profile
56
 
 
57
49
# Make sure we're also exporting the profile.d variables
58
50
if [ -d /etc/profile.d ]; then
59
51
    for i in /etc/profile.d/*.sh; do