[Secure-testing-commits] r19268 - bin
Raphael Geissert
geissert at alioth.debian.org
Fri May 18 00:16:34 UTC 2012
Author: geissert
Date: 2012-05-18 00:16:34 +0000 (Fri, 18 May 2012)
New Revision: 19268
Modified:
bin/gen-DSA
Log:
ask for the version numbers if not already passed
Modified: bin/gen-DSA
===================================================================
--- bin/gen-DSA 2012-05-17 23:40:20 UTC (rev 19267)
+++ bin/gen-DSA 2012-05-18 00:16:34 UTC (rev 19268)
@@ -160,10 +160,16 @@
for dist in $OLDSTABLE $STABLE $TESTING UNSTABLE; do
version="$(eval 'printf "%s" "$'"$dist"_VERSION'"')"
+ if $save && [ -z "$version" ] && grep -q "${dist}_VERSION" "$tmpf"; then
+ printf "Enter $dist's version [unset]: "
+ read version
+ if [ -n "$version" ]; then
+ eval "${dist}_VERSION='$version'"
+ fi
+ fi
[ -z "$version" ] || setvar "${dist}_VERSION" "$version"
done
-
if ! $save; then
cat $tmpf
echo
More information about the Secure-testing-commits
mailing list