~lightdm-team/lightdm/trunk

« back to all changes in this revision

Viewing changes to debian/lightdm-session

  • Committer: Robert Ancell
  • Date: 2015-08-10 04:15:02 UTC
  • mfrom: (2161.1.1 trunk)
  • Revision ID: robert.ancell@canonical.com-20150810041502-v153tn9osvnxcql9
Prevent ~/.bashrc from being sourced when ~/.profile is sourced.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
source_with_error_check () {
27
27
    CONFIG_FILE="$1"
28
28
    echo "Loading $CONFIG_FILE"
29
 
    . "$CONFIG_FILE" 2>"$ERR"
 
29
    BASH_VERSION= . "$CONFIG_FILE" 2>"$ERR"
30
30
    if [ -s "$ERR" ]; then
31
31
        . /usr/lib/lightdm/config-error-dialog.sh
32
32
    fi