instructions to run from lp do not work

Bug #1092555 reported by Thomas Vander Stichele
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
undistract-me
New
Undecided
Unassigned

Bug Description

because you need bash preexec preinstalled, even though it's right there in the checkout.

Attached patch finds it from the checkout. To work, I think I also needed to do +x on preexec.bash - I assume bzr could keep the +x permission once you set it ?

With that, it worked for me, after I realized that notify_when_long_running_commands_finish_install is actually something you need to type/tab-complete for it to work - my brain used to reading programmer instructions had parsed a_long_command_with_underscores_that_suggest_you_should_run_a_typical_command instead of stuff_wont_work_without_this_crucial_line.

I suggest maybe adding a sleep 11 as the final instruction ? That way you can cut and paste and get it work and show that it works at the same time.

Revision history for this message
Thomas Vander Stichele (thomasvs) wrote :
Revision history for this message
Michael Kogan (michael-kogan) wrote :

I've run into the same issue, but the patch didn't seem to help, maybe I've done something wrong?

[photon@photon-desktop Desktop]$ cd undistract-me/
[photon@photon-desktop undistract-me]$ patch < patch
patching file long-running.bash
[photon@photon-desktop undistract-me]$ cd ..
[photon@photon-desktop Desktop]$ . undistract-me/long-running.bash
Could not find preexec.bash
[photon@photon-desktop Desktop]$ ls -l undistract-me/
insgesamt 32
drwxr-xr-x 3 photon users 4096 12. Jan 22:14 debian
-rw-r--r-- 1 photon users 1276 12. Jan 22:14 LICENSE
-rw-r--r-- 1 photon users 4080 12. Jan 22:15 long-running.bash
-rw-r--r-- 1 photon users 809 12. Jan 22:14 patch
-rw-r--r-- 1 photon users 7261 12. Jan 22:14 preexec.bash
-rw-r--r-- 1 photon users 2286 12. Jan 22:14 README.md
-rw-r--r-- 1 photon users 327 12. Jan 22:14 undistract-me.sh
[photon@photon-desktop Desktop]$ chmod +x undistract-me/preexec.bash
[photon@photon-desktop Desktop]$ . undistract-me/long-running.bash
Could not find preexec.bash

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.