pkgsrc/misc/easymenu/patches/patch-ab
kristerw 67c90b3be4 Initial import of easymenu-0.7.2, contributed by Ola Eriksson in
PR pkg/26091.

Easymenu is a shell script used to generate menu systems.

It can be used to generate anything from easy one-level menus to
advanced multi-level menusystems. It has a set of internal commands,
and can execute external applications and scripts, all to be as flexible
as possible.
2004-12-31 16:38:48 +00:00

18 lines
524 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2004/12/31 16:38:49 kristerw Exp $
--- easymenu-demo-bash.sh.orig 2004-06-27 23:17:18.000000000 +0200
+++ easymenu-demo-bash.sh
@@ -31,11 +31,11 @@ fi
case $resp in
[yY]|[yY][eE]|[yY][eE][sS]) # Enable bash mode
- bash bin/easymenu -c "@.READCMD:read -n 1" etc/easymenu.conf-sample
+ bash -c ". easymenu -c \"@.READCMD:read -n 1\" etc/easymenu.conf-sample"
;;
*) # Execute in normal mode
- bin/easymenu etc/easymenu.conf-sample
+ easymenu etc/easymenu.conf-sample
;;
esac