Skip to content

Commit a03e8c4

Browse files
committed
2021-09-09 14:47:44
1 parent a2bfcab commit a03e8c4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

build.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ EMAIL="${4}"
88
TOKEN="${5}"
99

1010
# Apps.
11+
date="$( command -v date )"
1112
debuild="$( command -v debuild )"
12-
mv="$( command -v mv )"
1313
git="$( command -v git )"
14-
date="$( command -v date )"
14+
mv="$( command -v mv )"
15+
rm="$( command -v rm )"
1516

1617
# Dirs.
1718
d_src="/root/git/repo_src"
@@ -42,6 +43,7 @@ build() {
4243

4344
move() {
4445
for i in _service README.md LICENSE *.tar.* *.dsc *.build *.buildinfo *.changes; do
46+
${rm} -f "${d_dst}/${i}"
4547
${mv} "${i}" "${d_dst}" || exit 1
4648
done
4749
}

0 commit comments

Comments
 (0)