You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/build/preprocessor/AbstractPreprocessor.java
+10-12Lines changed: 10 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,7 @@ public void run() {
84
84
#!/usr/bin/env bash
85
85
set -o verbose
86
86
set -o pipefail
87
+
set -o nullglob
87
88
set -e
88
89
89
90
#fix this when we no longer need to run as root
@@ -146,18 +147,15 @@ public void run() {
146
147
echo "PATH:$PATH"
147
148
148
149
update-ca-trust
149
-
ls -lR /etc/pki || true
150
-
151
-
if [ -d /etc/pki/ca-trust/source/anchors ]; then
152
-
# Go through certificates and insert them into the cacerts
153
-
for cert in /etc/pki/ca-trust/source/anchors/*; do
154
-
echo "inserting $cert into java cacerts"
155
-
keytool -import -alias $(basename $cert)-ca \\
156
-
-file $cert \\
157
-
-keystore /etc/pki/java/cacerts \\
158
-
-storepass changeit --noprompt
159
-
done
160
-
fi
150
+
151
+
# Go through certificates and insert them into the cacerts
152
+
for cert in /etc/pki/ca-trust/source/anchors/*; do
0 commit comments