Commit a7d63766 authored by jeremiejig's avatar jeremiejig

install_fish: Use strip on binary fish...

Cache from 7.51MB to 1.63MB
parent 250fe263
#!/bin/sh #!/bin/sh
set -e set -e
BINDIR=$HOME/fish/bin
# check to see if fish bin doesn't exist # check to see if fish bin doesn't exist
if [ ! -x "$HOME/fish/bin/fish" ]; then if [ ! -x "$BINDIR/fish" ]; then
cd /tmp cd /tmp
wget -O - https://github.com/fish-shell/fish-shell/releases/download/2.2.0/fish-2.2.0.tar.gz | tar xzv wget -O - https://github.com/fish-shell/fish-shell/releases/download/2.2.0/fish-2.2.0.tar.gz | tar xzv
cd fish-2.2.0 && ./configure --prefix=$HOME/fish && make -j2 && make install; cd fish-2.2.0 && ./configure --prefix=$HOME/fish && make -j2 && make install;
strip $BINDIR/fish $BINDIR/fish_indent $BINDIR/mimedb
else else
echo 'Using cached directory.'; echo 'Using cached directory.';
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment