summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/ap/vim/vim.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/ap/vim/vim.SlackBuild')
-rwxr-xr-xslackware64-current/source/ap/vim/vim.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/slackware64-current/source/ap/vim/vim.SlackBuild b/slackware64-current/source/ap/vim/vim.SlackBuild
index 5b4ab6c3d..fc1e23a46 100755
--- a/slackware64-current/source/ap/vim/vim.SlackBuild
+++ b/slackware64-current/source/ap/vim/vim.SlackBuild
@@ -20,12 +20,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
VIMBRANCH=8.0
CTAGSVER=5.8
BUILD=${BUILD:-1}
-CWD=$(pwd)
-
if [ -r vim-${VIMBRANCH}*.tar.?z ]; then # if there's a source archive already, use the version number from it:
VERSION=$(echo vim-${VIMBRANCH}*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
else # need to fetch the latest source archive for this branch: