projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r2196: *** empty log message ***
[clsql.git]
/
debian
/
make-upstream.sh
diff --git
a/debian/make-upstream.sh
b/debian/make-upstream.sh
index 7a601d5e31407fbbdaa28ada3dd6195a948bebcb..97c27d87383a97ce9a6aefa033f3b597c131a778 100755
(executable)
--- a/
debian/make-upstream.sh
+++ b/
debian/make-upstream.sh
@@
-39,10
+39,11
@@
DEBPKG=cl-sql
PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG}
WORK_DIR=/usr/local/src/Work/${PKG}
PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG}
WORK_DIR=/usr/local/src/Work/${PKG}
+
+VERSION=`sed -n -e "s/${DEBPKG} (\(.*\)-[0-9.]).*/\1/p" < ${WORK_DIR}/debian/changelog |head -1`
DISTDIR=${PKG}-${VERSION}
DEBDIR=${DEBPKG}-${VERSION}
DISTDIR=${PKG}-${VERSION}
DEBDIR=${DEBPKG}-${VERSION}
-VERSION=`sed -n -e "s/${DEBPKG} (\(.*\)-[0-9.]).*/\1/p" < ${WORK_DIR}/debian/changelog |head -1`
if [ -z "${VERSION}" ]; then
echo "Can't find Debian changelog"
exit 1
if [ -z "${VERSION}" ]; then
echo "Can't find Debian changelog"
exit 1