summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-07-30 22:05:48 +0000
committerPhil Blundell <philb@gnu.org>2004-07-30 22:05:48 +0000
commit9887a14c72c8573c80f00a29d70c32258ba912e6 (patch)
tree3e3f297a118664200d16ceb6a4f722c5c86a0e25 /bash
parenta302467cba4092cb25b63d126344252b97ca9a01 (diff)
apply update-alternatives patch from Bruno Randolf
BKrev: 410ac63ca8vXd4yaGCgz80Eq1jRNHw
Diffstat (limited to 'bash')
-rw-r--r--bash/bash_2.05b.oe7
1 files changed, 6 insertions, 1 deletions
diff --git a/bash/bash_2.05b.oe b/bash/bash_2.05b.oe
index 4a47ee71f7..8e7561b327 100644
--- a/bash/bash_2.05b.oe
+++ b/bash/bash_2.05b.oe
@@ -1,5 +1,6 @@
DEPENDS = "ncurses"
DESCRIPTION = "An sh-compatible command language interpreter."
+PR = "r1"
SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
file://bashbug-editor.patch;patch=1;pnum=0 \
@@ -33,7 +34,11 @@ SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
file://autofoo.patch;patch=1 \
file://gcc34.patch;patch=1"
-inherit autotools
+inherit autotools update-alternatives
+
+PROVIDES = "virtual/sh"
+ALTERNATIVE_NAME = "sh"
+ALTERNATIVE_PATH = "${bindir}/bash"
bindir = "/bin"
sbindir = "/sbin"