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:
46340c8
)
Test for string length
author
Jakub Skoczen
<jakub@indexdata.com>
Wed, 17 Jul 2013 07:31:11 +0000
(09:31 +0200)
committer
Jakub Skoczen
<jakub@indexdata.com>
Wed, 17 Jul 2013 07:31:11 +0000
(09:31 +0200)
Otherwise the IDMETA args is always reset
id-deb-build/id-pbuild.sh
patch
|
blob
|
history
diff --git
a/id-deb-build/id-pbuild.sh
b/id-deb-build/id-pbuild.sh
index
061661c
..
50c06ef
100755
(executable)
--- a/
id-deb-build/id-pbuild.sh
+++ b/
id-deb-build/id-pbuild.sh
@@
-57,7
+57,8
@@
while test $# -gt 0; do
esac
shift
done
-if test $DEBIAN_DIST_A -o $UBUNTU_DIST_A -o $CENTOS_DIST_A; then
+
+if test -n $DEBIAN_DIST_A -o -n $UBUNTU_DIST_A -o -n $CENTOS_DIST_A; then
DEBIAN_DIST=$DEBIAN_DIST_A
UBUNTU_DIST=$UBUNTU_DIST_A
CENTOS_DIST=$CENTOS_DIST_A