##// END OF EJS Templates
builddeb: read default distribution and codename from lsb_release...
av6 -
r27212:ef9301ce default
parent child Browse files
Show More
@@ -161,8 +161,7 b' osx:'
161 rm -rf dist/mercurial-*.mpkg
161 rm -rf dist/mercurial-*.mpkg
162
162
163 deb:
163 deb:
164 mkdir -p packages/debian-unknown
164 contrib/builddeb
165 contrib/builddeb --distid debian --codename unknown
166
165
167 docker-debian-jessie:
166 docker-debian-jessie:
168 mkdir -p packages/debian-jessie
167 mkdir -p packages/debian-jessie
@@ -8,8 +8,8 b''
8
8
9 BUILD=1
9 BUILD=1
10 CLEANUP=1
10 CLEANUP=1
11 DISTID=debian
11 DISTID=`(lsb_release -is 2> /dev/null | tr '[:upper:]' '[:lower:]') || echo debian`
12 CODENAME=jessie
12 CODENAME=`lsb_release -cs 2> /dev/null || echo unknown`
13 while [ "$1" ]; do
13 while [ "$1" ]; do
14 case "$1" in
14 case "$1" in
15 --distid )
15 --distid )
@@ -84,6 +84,7 b' fi'
84 if [ "$CLEANUP" ] ; then
84 if [ "$CLEANUP" ] ; then
85 echo
85 echo
86 OUTPUTDIR=${OUTPUTDIR:=packages/$DISTID-$CODENAME}
86 OUTPUTDIR=${OUTPUTDIR:=packages/$DISTID-$CODENAME}
87 mkdir -p "$OUTPUTDIR"
87 find ../mercurial*.deb ../mercurial_*.build ../mercurial_*.changes \
88 find ../mercurial*.deb ../mercurial_*.build ../mercurial_*.changes \
88 -type f -newer $control -print0 | \
89 -type f -newer $control -print0 | \
89 xargs -Inarf -0 mv narf "$OUTPUTDIR"
90 xargs -Inarf -0 mv narf "$OUTPUTDIR"
General Comments 0
You need to be logged in to leave comments. Login now