Skip to content

Commit 88a505a

Browse files
authored
Merge pull request #119 from wscherphof/master
trivial
2 parents daa8bf5 + dab57fa commit 88a505a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/maven/tomcat/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ then
2525
app_name=$(basename "${src_dir}")
2626
war="conf/webapps/${app_name}.war"
2727
mkdir -p conf/webapps
28-
cp "${src_dir}"/target/*.war "${war}"
28+
mv "${src_dir}"/target/*.war "${war}"
2929

3030
docker image build -t "${image}" .
3131

32-
rm -f "${war}"
32+
mv "${war}" "${src_dir}"/target/
3333
if [ ! $(ls conf/webapps) ]
3434
then
3535
rm -rf conf/webapps

0 commit comments

Comments
 (0)