Skip to content
Permalink
Browse files

Define paths before binaries

  • Loading branch information
mojca authored and ryandesign committed Jun 29, 2019
1 parent 6a6129c commit e6d8a732ec1ad3f4975dadefb7b5c80dac79ff5f
Showing with 10 additions and 10 deletions.
  1. +10 −10 jobs/mprsyncup
@@ -30,6 +30,16 @@
set -e
set -x

# Paths we'll work on:
ROOT=/var/tmp/macports
PREFIX=${ROOT}/opt/local
GITROOT=/var/tmp/macports
TBASE=${GITROOT}/trunk/base
RBASE=${GITROOT}/release/base
PORTS=${GITROOT}/release/ports
CONTRIB=${GITROOT}/release/contrib
RSYNCROOT=/rsync/macports

# Commands we need. For options to be substituted correctly, these must
# not be substituted within double quotes. Thus, there must not be any
# globbing characters, and the command itself must not contain spaces.
@@ -45,16 +55,6 @@ AWK="/usr/bin/awk"
STAT="/opt/local/bin/gstat"
BASENAME="/usr/bin/basename"
TCLSH="/opt/local/bin/port-tclsh"

# Paths we'll work on:
ROOT=/var/tmp/macports
PREFIX=${ROOT}/opt/local
GITROOT=/var/tmp/macports
TBASE=${GITROOT}/trunk/base
RBASE=${GITROOT}/release/base
PORTS=${GITROOT}/release/ports
CONTRIB=${GITROOT}/release/contrib
RSYNCROOT=/rsync/macports
PORTINDEX=${PREFIX}/bin/portindex

PATH=${PREFIX}/bin:/bin:/usr/bin:/usr/sbin:/opt/local/bin

0 comments on commit e6d8a73

Please sign in to comment.
You can’t perform that action at this time.