diff options
author | An-Cheng Huang <ancheng@ancheng-vm.localdomain> | 2007-09-20 19:30:08 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@ancheng-vm.localdomain> | 2007-09-20 19:30:08 -0700 |
commit | 5aee4a9cf612685db2dad623429a1197c2dfac55 (patch) | |
tree | 96c48ed653a130d9b0ff61478331dbce5e6872df /mkversion | |
parent | ab409c9414c6493136526c9b7ddb2bee99adc8de (diff) | |
parent | a470e6d1f48b41e03a9b7f7702dbfd9f439c354a (diff) | |
download | vyatta-op-5aee4a9cf612685db2dad623429a1197c2dfac55.tar.gz vyatta-op-5aee4a9cf612685db2dad623429a1197c2dfac55.zip |
Merge branch 'master' of phuket:/usr/local/git/vyatta-op
Diffstat (limited to 'mkversion')
-rwxr-xr-x | mkversion | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mkversion b/mkversion deleted file mode 100755 index 03c1af1..0000000 --- a/mkversion +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# Make GIT version reference file - -url=$( git repo-config --get remote.origin.url ) -test -z "$url" && url=file://$PWD -branch=$( git-branch --no-color | sed '/^\* /!d; s/^\* //' ) -sha=$( git log --pretty=oneline --no-color -n 1 | cut -c-8 ) - -echo "${url}#${branch}-${sha}" > VERSION |