Skip to content

Commit 1f4bd6e

Browse files
committed
Administrivia
1 parent 72c5917 commit 1f4bd6e

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

admin-tools/checkout_common.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
33
bs=${BASH_SOURCE[0]}
44
mydir=$(dirname $bs)
5+
trepan3k_fulldir=$(readlink -f $mydir)
56

67
function setup_version {
78
local repo=$1

admin-tools/make-dist-3.6-3.10.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ PACKAGE=trepan3k
33

44
# FIXME put some of the below in a common routine
55
function 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)
1012
trap finish EXIT
1113

1214
cd $(dirname ${BASH_SOURCE[0]})

admin-tools/make-dist-newest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PACKAGE=trepan3k
33

44
# FIXME put some of the below in a common routine
55
function 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
}

admin-tools/setup-master.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
# Check out master branch and dependent development master branches
33
PYTHON_VERSION=3.12
44

5+
trepan3k_owd=$(pwd)
56
bs=${BASH_SOURCE[0]}
67
if [[ $0 == $bs ]] ; then
78
echo "This script should be *sourced* rather than run directly through bash"
89
exit 1
910
fi
1011

1112
mydir=$(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 && \

0 commit comments

Comments
 (0)