mirror of
https://github.com/status-im/consul.git
synced 2025-02-22 18:38:19 +00:00
Only remove builds with the same suffix
This commit is contained in:
parent
ebe6ca167f
commit
4daf669136
@ -202,7 +202,7 @@ function build_consul_post {
|
||||
pushd "${sdir}" > /dev/null
|
||||
|
||||
# recreate the pkg dir
|
||||
rm -r pkg/bin/* 2> /dev/null
|
||||
rm -r pkg/bin/*${2} 2> /dev/null
|
||||
mkdir -p pkg/bin 2> /dev/null
|
||||
|
||||
# move all files in pkg.new into pkg
|
||||
@ -379,4 +379,4 @@ function build_consul_local {
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user