diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 1999-01-17 22:27:01 +0000 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 1999-01-17 22:27:01 +0000 |
commit | 1b4a7ace5587b33331dcd018d94970693e87c305 (patch) | |
tree | 609c2073997323107bb37382d5b84afab9bcee87 /Makefile.in | |
parent | d9c09bba818d66c0b2331bdb8c822ab4fcba1c1a (diff) | |
download | sudo-1b4a7ace5587b33331dcd018d94970693e87c305.tar.gz |
kill rcs goop in update_version and fix now that version is a const
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in index 59817f169..fe56c8c83 100644 --- a/Makefile.in +++ b/Makefile.in @@ -269,16 +269,8 @@ dist: $(DISTFILES) # This is ugly but it works... update_version: for f in Makefile.in $(VERSIONFILES); do \ - if co -l -q $$f; then \ - CHECKIN=1; \ - else \ - CHECKIN=0; \ - fi; \ - VERSION=`sed -n 's/static char version\[\] = "\([^"]*\)".*$$/\1/p' < version.h`; \ + VERSION=`sed -n 's/static const char version\[\] = "\([^"]*\)".*$$/\1/p' < version.h`; \ sed -e 's/\(VERSION =\) [^ ,:][^ ,:]*/\1 '$$VERSION'/' -e 's/\(CU sudo version\) [^ ,:][^ ,:]*/\1 '$$VERSION'/' < $$f > $$f.$$$$; \ mv -f $$f.$$$$ $$f; \ chmod 644 $$f; \ - if [ $$CHECKIN -eq 1 ]; then \ - ci -u -m"updated version" $$f; \ - fi; \ done |