[ubuntu-mono] [Bug 872237] [NEW] Files and folders plugin bash environment not set.

johan rebez 872237 at bugs.launchpad.net
Tue Oct 11 11:53:21 UTC 2011


Public bug reported:

GNOME Do 0.8.3.1 / Ubuntu 10.04 / Files and Folders v.2.5

- Create a directory.
- Add it to the 'Indexed Folders' list  of the 'Files and Folders Plugin'.
- Create an executable script inside this directory named 'mytestscript' containing the following:
#!/bin/bash
set > ~/bash_environment_dump ;
#######################

- Restart gnome do so that indexed path changes take effect.
- 1. execute ./mytestscript and look at the file: ~/bash_environment_dump
- 2. execute mytestscript through gnome-do search, and look again at the file ~/bash_environment_dump

The difference is that the environment has not been set correctly in case 2.  
E.g. The $PATH variable has not been set correctly in case 2. 
It is like the .bashrc was never executed.

** Affects: gnome-do-plugins (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to gnome-do-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/872237

Title:
  Files and folders plugin bash environment not set.

Status in “gnome-do-plugins” package in Ubuntu:
  New

Bug description:
  GNOME Do 0.8.3.1 / Ubuntu 10.04 / Files and Folders v.2.5

  - Create a directory.
  - Add it to the 'Indexed Folders' list  of the 'Files and Folders Plugin'.
  - Create an executable script inside this directory named 'mytestscript' containing the following:
  #!/bin/bash
  set > ~/bash_environment_dump ;
  #######################

  - Restart gnome do so that indexed path changes take effect.
  - 1. execute ./mytestscript and look at the file: ~/bash_environment_dump
  - 2. execute mytestscript through gnome-do search, and look again at the file ~/bash_environment_dump

  The difference is that the environment has not been set correctly in case 2.  
  E.g. The $PATH variable has not been set correctly in case 2. 
  It is like the .bashrc was never executed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-do-plugins/+bug/872237/+subscriptions



More information about the Ubuntu-mono mailing list