summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-04-15 10:53:09 +0000
committerben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-04-15 10:53:09 +0000
commit37484bf073c8a331f93fcc193fc3631a35ec7c74 (patch)
tree620b1af00ddb9ffa0b19cf18e1b562944893de4f /linux
parentc6bc16d48933d0a29baa6a3a412f3c630b9656bc (diff)
downloadneo-layout-37484bf073c8a331f93fcc193fc3631a35ec7c74.tar.gz
neo-layout-37484bf073c8a331f93fcc193fc3631a35ec7c74.tar.bz2
neo-layout-37484bf073c8a331f93fcc193fc3631a35ec7c74.zip
Revision automatisch setzten.
git-svn-id: https://svn.neo-layout.org@483 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux')
-rw-r--r--linux/X/de3
-rwxr-xr-xlinux/rev37
-rw-r--r--linux/xmodmap/neo_de.xmodmap3
3 files changed, 2 insertions, 41 deletions
diff --git a/linux/X/de b/linux/X/de
index 8b26853..2aa64bf 100644
--- a/linux/X/de
+++ b/linux/X/de
@@ -214,8 +214,7 @@ xkb_symbols "sundeadkeys" {
// Other Questions:
// <mailinglist at neo-layout dot org>
//
-// $Revision: $, $Date: $
-// $HeadURL$
+// $Revision$, $Date$
// http://pebbles.schattenlauf.de/layout.php
diff --git a/linux/rev b/linux/rev
deleted file mode 100755
index 2f7c541..0000000
--- a/linux/rev
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# Autoren: Pascal Hauck
-# Benjamin Kellermann <Benjamin Punkt Kellermann at gmx in Deutschland>
-
-
-case $1 in
- "--help" | "-h")
- echo "Aufruf: $0 <Dateien>"
- echo "Beispiel: $0 xmodmap/neo_de.xmodmap X/de"
- echo "»$0« ändert in der <Datei> oder den <Dateien> die Nummer der aktuellen Revision."
- echo "Im Anschluss sollten gemachte Änderungen"
- echo "per »svn commit« wie gewohnt übertragen werden."
- echo "NEO Tastaturlayout\tVer. 0.3\tMärz 2008\t\t\tREV"
- exit;;
- "")
- echo "Aufruf: »$0«"
- echo "»$0 --help« gibt Ihnen mehr Informationen."
- exit 1
-esac
-
-# Abfragen der nächsten Revisionsnummer
-REVISION=$(( $(svn info | sed -n 5~p | cut -f2 -d\:) + 1))
-
-for DATEI in "$@";
-do
- # Sicherung der aktuellen Arbeitskopie
- cp -a $DATEI $DATEI.bak
-
- # Revisionsnummer in ändern
- echo "Ändere Zeile:"
- grep "Revision" $DATEI
-
- sed -e "s/Revision [0-9]*, .*/Revision $REVISION, $(date)/1;" $DATEI > $DATEI.tmp
- mv $DATEI.tmp $DATEI
- echo "In Zeile:"
- grep "Revision" $DATEI
-done
diff --git a/linux/xmodmap/neo_de.xmodmap b/linux/xmodmap/neo_de.xmodmap
index db17b2c..32172c8 100644
--- a/linux/xmodmap/neo_de.xmodmap
+++ b/linux/xmodmap/neo_de.xmodmap
@@ -10,8 +10,7 @@
!! Other Questions:
!! <mailinglist at neo-layout dot org>
!!
-!! $Revision: $, $Date: $
-!! $HeadURL$
+!! $Revision$, $Date$
!! http://pebbles.schattenlauf.de/layout.php
!!
!! To try the layout in this file, simply do xmodmap <file>.