From: Todd C. Miller Date: Sun, 17 Jan 1999 22:27:01 +0000 (+0000) Subject: kill rcs goop in update_version and fix now that version is a const X-Git-Tag: SUDO_1_5_8~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2621fd7e8da6cded8bb3a382d2f4bfc133308b4;p=sudo kill rcs goop in update_version and fix now that version is a const --- 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