Skip to content

Commit 96005be

Browse files
author
David R. Morrison
committed
one more architecture-dependent change
1 parent 6abc2b2 commit 96005be

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bindist/bdscan

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ if [ -z "$BDBASE" ]; then
77
fi
88
cd "$BDBASE"
99

10+
if [ -z "$BDARCH" ]; then
11+
echo "BDARCH not set"
12+
exit 1
13+
fi
14+
1015
tree=$1
1116
if [ -z "$tree" ]; then
1217
if [ -n "$CURREL" ]; then
@@ -23,7 +28,7 @@ if [ ! -d "dists/$tree" ]; then
2328
fi
2429

2530
for dir in main crypto ; do
26-
basedir="dists/$tree/$dir/binary-darwin-powerpc"
31+
basedir="dists/$tree/$dir/binary-darwin-$BDARCH"
2732
if [ ! -d $basedir ]; then
2833
echo "ERROR: no binary directory for $tree/$dir"
2934
else

0 commit comments

Comments
 (0)