File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22export PATH=$HOME /.pyenv/bin/pyenv:$PATH
33bs=${BASH_SOURCE[0]}
44mydir=$( dirname $bs )
5+ trepan3k_fulldir=$( readlink -f $mydir )
56
67function setup_version {
78 local repo=$1
Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ PACKAGE=trepan3k
33
44# FIXME put some of the below in a common routine
55function finish {
6- cd $make_dist_36_owd
6+ if [[ -n " $make_trepan_dist_36_owd " ]] && [[ -n " $make_trepan_dist_36_owd " ]]; then
7+ cd $make_trepan_dist_36_owd
8+ fi
79}
810
9- make_trepan_dist_36_owd=$( pwd)
11+ $ make_trepan_dist_36_owd =$( pwd)
1012trap finish EXIT
1113
1214cd $( dirname ${BASH_SOURCE[0]} )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ PACKAGE=trepan3k
33
44# FIXME put some of the below in a common routine
55function finish {
6- if [[ -n " $make_dist_xdis_newest_owd " ]] then
6+ if [[ -n " $make_trepan_dist_newest_owd " ]] && [[ -n " $make_trepan_newest_owd " ]] ; then
77 cd $make_dist_trepan3k_newest_owd
88 fi
99}
Original file line number Diff line number Diff line change 22# Check out master branch and dependent development master branches
33PYTHON_VERSION=3.12
44
5+ trepan3k_owd=$( pwd)
56bs=${BASH_SOURCE[0]}
67if [[ $0 == $bs ]] ; then
78 echo " This script should be *sourced* rather than run directly through bash"
89 exit 1
910fi
1011
1112mydir=$( dirname $bs )
12- trepan3k_owd=$( pwd)
13- cd $mydir
14- . ./checkout_common.sh
15- (cd $mydir /../../../rocky && \
13+ trepan3k_fulldir=$( readlink -f $mydir )
14+ . ${trepan3k_fulldir} /checkout_common.sh
15+ (cd ${trepan3k_fulldir} /../../../rocky && \
1616 setup_version python-uncompyle6 master && \
1717 setup_version python-filecache master && \
1818 setup_version pytracer master && \
You can’t perform that action at this time.
0 commit comments