~michael-sheldon/ubuntu-touch-session/fix-1659388

« back to all changes in this revision

Viewing changes to ubuntu-touch-session

  • Committer: Bileto Bot
  • Author(s): Łukasz 'sil2100' Zemczak
  • Date: 2016-10-11 10:22:45 UTC
  • mfrom: (289.1.1 ubuntu-touch-session)
  • Revision ID: ci-train-bot@canonical.com-20161011102245-89dlruwwih0oxpxi
Re-add the GRID_UNIT_PX .profile addition as it seems to be required by some autopilot tests. (LP: #1627056)

Approved by: Olivier Tilloy

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 some environment variables for adb and 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
 
49
53
# Make sure we're also exporting the profile.d variables
50
54
if [ -d /etc/profile.d ]; then
51
55
    for i in /etc/profile.d/*.sh; do