-
Notifications
You must be signed in to change notification settings - Fork 57
/
byobu-source.sh
executable file
·47 lines (37 loc) · 1.21 KB
/
byobu-source.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# source: https://gist.github.com/phatblat/1713458
# Save script's current directory
DIR=$(pwd)
set -e
set -u
set -x
echo "#########################################################################"
echo "# byobu shell session manager http://byobu.org installation from source"
echo "#########################################################################"
echo "# ON UBUNTU YOU PROBABLY REALLY WANT TO RUN commandline_utils.sh"
echo "#"
echo "# byobu makes it so you can access multiple remote shell sessions"
echo "# via a single remote ssh session, and keep things from being terminated"
echo "# if you get disconnected accidentally"
echo ""
echo "Based on instructions in:"
echo " http://bazaar.launchpad.net/~kirkland/byobu/trunk/view/head:/README"
echo "Installation bug on MARCC:"
echo " https://bugs.launchpad.net/byobu/+bug/1673232"
mkdir -p ~/src
cd ~/src
if [ ! -d ~/src/byobu ] ; then
git clone git://github.com/dustinkirkland/byobu.git byobu
fi
cd byobu
git pull
if [ ! -f ~/src/byobu/ChangeLog ] ; then
touch ~/src/byobu/ChangeLog
fi
aclocal
automake --add-missing
autoconf
./configure --prefix="$HOME/byobu"
# original configure command:
#./configure --prefix="$HOME/byobu"
make install
cd $DIR