commit | 04572b9aef639c1c5bdb7850d62df7cde6daac62 | [log] [tgz] |
---|---|---|
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Fri Aug 20 13:24:38 2004 +0000 |
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Fri Aug 20 13:24:38 2004 +0000 |
tree | 1ce6d7711f25bd9e50c819ab037a1e33866c22df | |
parent | 00ad2824370f8e61d6ebdd879c81b5870897467a [diff] [blame] |
prettyfying git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@166 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/asn1c/check-parsing.sh b/asn1c/check-parsing.sh index ca00c5f..c5c2d6a 100755 --- a/asn1c/check-parsing.sh +++ b/asn1c/check-parsing.sh
@@ -12,7 +12,11 @@ if [ $? = 0 ]; then diff -a -u "$ref" "$tmpfile" || ec=$? fi - rm -f "$tmpfile" + if [ "$1" != "regenerate" ]; then + rm -f "$tmpfile" + else + mv "$tmpfile" "$ref" + fi done exit $ec