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:
6823591
)
upload script uses debian/control rather than debian/changelog
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 2 Jul 2014 13:10:40 +0000
(15:10 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 2 Jul 2014 13:10:40 +0000
(15:10 +0200)
id-deb-build/id-upload.sh
patch
|
blob
|
history
diff --git
a/id-deb-build/id-upload.sh
b/id-deb-build/id-upload.sh
index
b5959bc
..
c4618a9
100755
(executable)
--- a/
id-deb-build/id-upload.sh
+++ b/
id-deb-build/id-upload.sh
@@
-7,14
+7,13
@@
fi
if test -n "$NAME"; then
PRODUCT=$NAME
else
if test -n "$NAME"; then
PRODUCT=$NAME
else
- DEBCHANGELOG=debian/changelog
- if test ! -f $DEBCHANGELOG; then
- echo "$DEBCHANGELOG missing"
+ DEBCONTROL=debian/control
+ if test ! -f $DEBCONTROL; then
+ echo "$DEBCONTROL missing"
echo "The current directory should be base source of package"
exit 1
fi
echo "The current directory should be base source of package"
exit 1
fi
- l=`head -1 $DEBCHANGELOG`
- PRODUCT=`echo $l|sed 's/ .*//g'`
+ PRODUCT=`awk '/Source:/ {print $2}' $DEBCONTROL`
fi
TAR=${PRODUCT}-${VERSION}.tar.gz
echo "TAR=$TAR"
fi
TAR=${PRODUCT}-${VERSION}.tar.gz
echo "TAR=$TAR"