Added etc local profile files.

This commit is contained in:
2018-05-17 15:45:57 +02:00
parent f541aee45f
commit 3f989fed20
130 changed files with 50465 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
# set version number in $3 to the latest SVN repository version number.
# $1 = SVN repository
# $2 = pattern to transform
# $3 = file to process if any, otherwise display version on output
computed_svn_revision=`svn info $1 | grep "Last Changed Rev" | sed -e "s/Last Changed Rev: //"`
if [[ -z "$2" || -z "$3" ]]; then
echo $computed_svn_revision
else
sed -e "s/$2/$computed_svn_revision/" $3 > tmp
mv tmp $3
fi