[Secure-testing-commits] r28618 - bin

Raphael Geissert geissert at moszumanska.debian.org
Fri Sep 5 21:57:44 UTC 2014


Author: geissert
Date: 2014-09-05 21:57:44 +0000 (Fri, 05 Sep 2014)
New Revision: 28618

Modified:
   bin/gen-DSA
Log:
Refactor some bits


Modified: bin/gen-DSA
===================================================================
--- bin/gen-DSA	2014-09-05 21:14:11 UTC (rev 28617)
+++ bin/gen-DSA	2014-09-05 21:57:44 UTC (rev 28618)
@@ -343,11 +343,7 @@
 else
     mv -i $tmpf "$IDMODE-$DAID" || { rm -f $tmpf; exit; }
 
-    if [ "$IDMODE" = DSA ]; then
-	needed_file=data/dsa-needed.txt
-    else
-	needed_file=data/dla-needed.txt
-    fi
+    needed_file=data/"$(tolower "$IDMODE")"-needed.txt
 
     daid_entry=$(mktemp)
     cat <<EOF > $daid_entry




More information about the Secure-testing-commits mailing list