[Libreoffice-qa] Script/Launcher for Bibisect

Joel Madero jmadero.dev at gmail.com
Sun Jun 8 18:01:35 PDT 2014


Hi All,

I'm a bit tired of having to cd into a bibisect folder and do all the
initial commands so I've created a launcher/script to do the first stuff
but hitting a big of a snag. Script below:

#!/bin/sh
cd /home/joel/Downloads/bibisect-43all
sleep 5
git checkout .
sleep 10
git bisect start latest oldest
sleep 20
./opt/program/soffice &&
sleep 5
. "$HOME/mycd"


the launcher launches terminal and does everything until the last step .
"$HOME/mycd" which is to actually cd into my bibisect folder so I can do
"git bisect good/bad/skip".

I know you can't just use cd with a script so I followed instructions
and mycd is just a simple file containing: cd
/home/joel/Downloads/bibisect-43all


Thoughts appreciated - trying to automate some of these repetitive steps
:-D If I can get it to work I'll add to bibisect page on how to create
it if others are interested.


Best,
Joel


More information about the Libreoffice-qa mailing list