diff options
| author | Manuel Traut <manut@mecka.net> | 2013-03-10 12:13:49 +0100 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2013-03-10 12:13:49 +0100 |
| commit | 9c0f862749f30800837a45aff5abdcb529867dbc (patch) | |
| tree | b0ca51fff64f12fac03aea4afaa1fa722376844b /beagle/debian-rfs/usr/bin/sensible-editor | |
| parent | 33b79c725448efd2c9a72e2ae9a1fb04270492f5 (diff) | |
| parent | cea5039322781f6085dd47954af5584ca3f78911 (diff) | |
Merge branch 'schulung'
updates from current linutronix schulung.git
Conflicts:
Makefile
configpres.tex
flash-memory/ubi/handout_ubi_de.tex
handout.tex
index.txt
pres_master.tex
vorl.tex
vorl1.tex
vorl2.tex
vorl3.tex
vorl4.tex
vorl5.tex
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'beagle/debian-rfs/usr/bin/sensible-editor')
| -rwxr-xr-x | beagle/debian-rfs/usr/bin/sensible-editor | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/beagle/debian-rfs/usr/bin/sensible-editor b/beagle/debian-rfs/usr/bin/sensible-editor deleted file mode 100755 index 8e4c9e4..0000000 --- a/beagle/debian-rfs/usr/bin/sensible-editor +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -ret="$?" - -if [ -n "$VISUAL" ]; then - ${VISUAL} "$@" - ret="$?" - if [ "$ret" -ne 126 ] && [ "$ret" -ne 127 ]; then - exit "$ret" - fi -fi - -${EDITOR:-editor} "$@" -ret="$?" -if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then - nano "$@" - ret="$?" - if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then - nano-tiny "$@" - ret="$?" - if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then - vi "$@" - ret="$?" - if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then - echo "Couldn't find an editor!" 1>&2 - echo "Set the \$EDITOR environment variable to your desired editor." 1>&2 - exit 1 - fi - fi - fi -fi -exit "$ret" |
