Skip to content

Commit 91f1a69

Browse files
authored
Merge pull request #179 from jfdenise/CLOUD-3607
[0.18.x] Fix for CLOUD-3607, Move Image Builder non maven repo content out of tmp
2 parents b8da0a8 + d240394 commit 91f1a69

File tree

1 file changed

+6
-1
lines changed
  • jboss/container/wildfly/galleon/build-feature-pack

1 file changed

+6
-1
lines changed

jboss/container/wildfly/galleon/build-feature-pack/configure.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ if [ -f "${ZIPPED_REPO}" ]; then
3939
sh $GALLEON_MAVEN_REPO_HOOK_SCRIPT "$repoDir"
4040
fi
4141
mv $repoDir/maven-repository "$TMP_GALLEON_LOCAL_MAVEN_REPO"
42-
42+
mkdir "$JBOSS_CONTAINER_WILDFLY_S2I_GALLEON_DIR/maven-repo-misc"
43+
if [ "$(ls -A $repoDir)" ]; then
44+
mv $repoDir/* "$JBOSS_CONTAINER_WILDFLY_S2I_GALLEON_DIR/maven-repo-misc"
45+
fi
46+
rm -rf $repoDir
47+
4348
if [ "x$deleteBuildArtifacts" == "xtrue" ]; then
4449
echo "Build artifacts are not kept, will be removed from galleon local cache"
4550
cp -r $TMP_GALLEON_LOCAL_MAVEN_REPO $GALLEON_LOCAL_MAVEN_REPO

0 commit comments

Comments
 (0)