Skip to content

Commit e4d595c

Browse files
committed
Update pathfinder install to set sensible permissions
Adjusting jlink-dev work to the expectations after OPENJDK-3655 Signed-off-by: Jonathan Dowland <[email protected]>
1 parent e3ee123 commit e4d595c

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

modules/util/pathfinder/configure.sh

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
#!/bin/sh
2-
# Configure module
3-
set -e
1+
#!/bin/bash
2+
set -euo pipefail
43

54
SCRIPT_DIR=$(dirname $0)
65
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts
76

8-
chown -R default:root $SCRIPT_DIR
9-
chmod -R ug+rwX $SCRIPT_DIR
10-
chmod ug+x ${ARTIFACTS_DIR}/opt/jboss/container/util/pathfinder/*
11-
12-
pushd ${ARTIFACTS_DIR}
13-
cp -pr * /
14-
popd
7+
install -m 0644 -D {${ARTIFACTS_DIR},}/opt/jboss/container/util/pathfinder/pathfinder.sh

0 commit comments

Comments
 (0)