summaryrefslogtreecommitdiff
path: root/bootstrap.1
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2011-12-02 09:39:29 +0000
committerAndre Fischer <af@apache.org>2011-12-02 09:39:29 +0000
commitc5d9700396c1c108940d92e3870ee610d2c4cfc4 (patch)
tree96cc38adfad265167d2cb611821f79d42e22a7eb /bootstrap.1
parentb4c9bca4669e31611ac4b72af2f555f90e7b4c5d (diff)
118663: Load external archives from new ext_sources directory.
Diffstat (limited to 'bootstrap.1')
-rw-r--r--bootstrap.16
1 files changed, 5 insertions, 1 deletions
diff --git a/bootstrap.1 b/bootstrap.1
index 9e84c27b0836..9439fba2c805 100644
--- a/bootstrap.1
+++ b/bootstrap.1
@@ -38,7 +38,11 @@ if test -n "$DMAKE_URL" -a ! -x "$SOLARENV/$OUTPATH/bin/dmake$EXEEXT"; then
mkdir -p "$tmp_build_dir"
cd "$tmp_build_dir" || exit
- dmake_full_package_name="$TARFILE_LOCATION/$dmake_package_name"
+ dmake_full_package_name=$(find $TARFILE_LOCATION -type f -name "*-$dmake_package_name")
+ if [ -z "$dmake_full_package_name" ]; then
+ echo "can not find the dmake package"
+ exit
+ fi
if test "$GUI" = "WNT"; then
dmake_full_package_name=`cygpath -u "$dmake_full_package_name"`
fi