Drop tempfile workaround for aggregate bindep list
Since support for using "-f -" to read a package list from stdin is supported in bindep 0.1.0 and later, remove the hacky temporary workaround which stashed it in a tempfile. Change-Id: I02d153113a160028658e38828e113fcf02bc5ab1
This commit is contained in:
parent
1a5c2049aa
commit
678c1c81b5
@ -43,13 +43,7 @@ if [ -f /usr/bin/apt-get ] ; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO(fungi) once https://review.openstack.org/195201 appears in a bindep
|
PACKAGELIST=`echo "$PACKAGES" | /usr/bindep-env/bin/bindep -b -f - || true`
|
||||||
# release, replace the next four lines with:
|
|
||||||
# PACKAGELIST=`echo "$PACKAGES" | /usr/bindep-env/bin/bindep -b -f - || true`
|
|
||||||
PACKAGESFILE=`mktemp`
|
|
||||||
echo "$PACKAGES" > $PACKAGESFILE
|
|
||||||
PACKAGELIST=`/usr/bindep-env/bin/bindep -b -f $PACKAGESFILE || true`
|
|
||||||
rm $PACKAGESFILE
|
|
||||||
|
|
||||||
if [ -f /usr/bin/apt-get ] ; then
|
if [ -f /usr/bin/apt-get ] ; then
|
||||||
# --ignore-missing conflicts with set -e, so force it to be ok
|
# --ignore-missing conflicts with set -e, so force it to be ok
|
||||||
|
Loading…
Reference in New Issue
Block a user