setlocalversion (9a64e8e0ace51b309fdcff4b4754b3649250382a) setlocalversion (f893bfb61531548eeaff432e8d10758e86e788a7)
1#!/bin/sh
2#
3# This scripts adds local version information from the version
4# control systems git, mercurial (hg) and subversion (svn).
5#
6# If something goes wrong, send a mail the kernel build mailinglist
7# (see MAINTAINERS) and CC Nico Schottelius
8# <nico-linuxsetlocalversion -at- schottelius.org>.

--- 94 unchanged lines hidden (view full) ---

103 *+|*+\ *) printf '%s' -dirty ;;
104 esac
105
106 # All done with mercurial
107 return
108 fi
109
110 # Check for svn and a svn repo.
1#!/bin/sh
2#
3# This scripts adds local version information from the version
4# control systems git, mercurial (hg) and subversion (svn).
5#
6# If something goes wrong, send a mail the kernel build mailinglist
7# (see MAINTAINERS) and CC Nico Schottelius
8# <nico-linuxsetlocalversion -at- schottelius.org>.

--- 94 unchanged lines hidden (view full) ---

103 *+|*+\ *) printf '%s' -dirty ;;
104 esac
105
106 # All done with mercurial
107 return
108 fi
109
110 # Check for svn and a svn repo.
111 if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then
111 if rev=`LANG= LC_ALL= LC_MESSAGES=C svn info 2>/dev/null | grep '^Last Changed Rev'`; then
112 rev=`echo $rev | awk '{print $NF}'`
113 printf -- '-svn%s' "$rev"
114
115 # All done with svn
116 return
117 fi
118}
119

--- 57 unchanged lines hidden ---
112 rev=`echo $rev | awk '{print $NF}'`
113 printf -- '-svn%s' "$rev"
114
115 # All done with svn
116 return
117 fi
118}
119

--- 57 unchanged lines hidden ---