aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2016-11-07 17:19:26 +0000
committerStuart Monteith <stuart.monteith@linaro.org>2016-11-07 17:19:26 +0000
commit940ce2893a2c5771aa02604a4522f4dadfa1746a (patch)
tree3780bc5227d02c1260ba167880641861e663ec0e
parentea5c63e812861f3a5862e73749e353f67637d015 (diff)
Use basename PUBLISH_DEST as URL base
-rwxr-xr-xrewrite-urls2
1 files changed, 1 insertions, 1 deletions
diff --git a/rewrite-urls b/rewrite-urls
index 963a317..2e4f95c 100755
--- a/rewrite-urls
+++ b/rewrite-urls
@@ -23,7 +23,7 @@ progname=$(basename $0)
: ${TOP_DIR:?"Must specify TOP_DIR (e.g., TOP_DIR=$HOME/openjdk8-aarch64 $progname)"}
d=$(basename $TOP_DIR)
-sed_expr=$(echo s!$TOP_DIR!/$JDK_VERSION/$d!g)
+sed_expr=$(echo s!$TOP_DIR!/$(basename $PUBLISH_DEST)/$d!g)
echo "rewrite-urls: sed_expr=\"${sed_expr}\""