We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ee123 commit e4d595cCopy full SHA for e4d595c
modules/util/pathfinder/configure.sh
@@ -1,14 +1,7 @@
1
-#!/bin/sh
2
-# Configure module
3
-set -e
+#!/bin/bash
+set -euo pipefail
4
5
SCRIPT_DIR=$(dirname $0)
6
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts
7
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
+install -m 0644 -D {${ARTIFACTS_DIR},}/opt/jboss/container/util/pathfinder/pathfinder.sh
0 commit comments