mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 13:06:29 +00:00
19 lines
465 B
Bash
Executable File
19 lines
465 B
Bash
Executable File
#! /bin/bash
|
|
|
|
log "Compiling and installing fish-shell to local prefix"
|
|
|
|
function main() {
|
|
local fish_shell_dir=$WORKSPACE/fish-shell
|
|
|
|
if [ ! -d "$fish_shell_dir" ]; then
|
|
log "Cloning fish-shell"
|
|
git clone https://github.com/fish-shell/fish-shell "$fish_shell_dir"
|
|
else
|
|
(cd "$fish_shell_dir" && git pull)
|
|
fi
|
|
|
|
(cd "$fish_shell_dir" && ./configure --prefix="$LOCAL_PREFIX" --disable-shared && make && make install)
|
|
}
|
|
|
|
main
|