summaryrefslogtreecommitdiff
path: root/Ports/vim
diff options
context:
space:
mode:
authorLarkin Nickle <me@larbob.org>2019-06-04 21:21:24 +0000
committerAndreas Kling <awesomekling@gmail.com>2019-06-05 14:00:01 +0200
commitd080f6e8dd873385c984b3138471e28fc604f9cb (patch)
treec871b7a730b39d1a37bb9d20d79d007d9847c1cd /Ports/vim
parent800242ed4e45021ca3a6b60d3ec0c072a41ca104 (diff)
downloadserenity-d080f6e8dd873385c984b3138471e28fc604f9cb.zip
Ports: Remove bashisms and switch all scripts to /bin/sh.
Diffstat (limited to 'Ports/vim')
-rwxr-xr-xPorts/vim/vim.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/Ports/vim/vim.sh b/Ports/vim/vim.sh
index cf4407190d..98a7567a10 100755
--- a/Ports/vim/vim.sh
+++ b/Ports/vim/vim.sh
@@ -2,11 +2,11 @@
PORT_DIR=vim
INSTALLOPTS="DESTDIR=$SERENITY_ROOT/Root/"
-function fetch() {
+fetch() {
run_fetch_git "https://github.com/vim/vim.git"
}
-function configure() {
+configure() {
run_send_to_file src/auto/config.cache "
vim_cv_getcwd_broken=no
vim_cv_memmove_handles_overlap=yes
@@ -19,12 +19,12 @@ function configure() {
run_configure_autotools --with-tlib=ncurses --with-features=small
}
-function build() {
+build() {
run_make
}
-function install() {
+install() {
run_make_install
}
-source ../.port_include.sh
+. ../.port_include.sh