projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7bb6c6
)
Fix test for directory
master
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 8 May 2017 12:35:40 +0000
(14:35 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 8 May 2017 12:35:40 +0000
(14:35 +0200)
id-deb-build/docker-build.sh
patch
|
blob
|
history
diff --git
a/id-deb-build/docker-build.sh
b/id-deb-build/docker-build.sh
index
f09202a
..
507f081
100755
(executable)
--- a/
id-deb-build/docker-build.sh
+++ b/
id-deb-build/docker-build.sh
@@
-34,7
+34,7
@@
prepare_deb()
DISTS=$2
for dist in ${DISTS}; do
- test -f build/$TYPE/$dist && sudo rm -fr build/$TYPE/$dist
+ test -d build/$TYPE/$dist && sudo rm -fr build/$TYPE/$dist
mkdir -p build/$TYPE
cp -a deb-src build/$TYPE/$dist
cp ${ID_DEB_BUILD}/in-docker-deb.sh build/$TYPE/$dist