summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-11 01:34:55 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-11 01:34:55 +0000
commit64d63f8fd06e5370694f760093c69cdc69652447 (patch)
tree50f711e11e19bb72e1401af1ebb5bb8e189bdacb /package
parent524ebfde1d08edc64ba4b9075d23f7ed3dbc640c (diff)
downloadexecline-64d63f8fd06e5370694f760093c69cdc69652447.tar.xz
Add case (yet untested)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'package')
-rw-r--r--package/deps.mak3
-rw-r--r--package/modes13
-rw-r--r--package/targets.mak1
3 files changed, 11 insertions, 6 deletions
diff --git a/package/deps.mak b/package/deps.mak
index 6bfce8e..17d654e 100644
--- a/package/deps.mak
+++ b/package/deps.mak
@@ -4,6 +4,7 @@
src/execline/background.o src/execline/background.lo: src/execline/background.c src/include/execline/execline.h
src/execline/backtick.o src/execline/backtick.lo: src/execline/backtick.c src/include/execline/execline.h
+src/execline/case.o src/execline/case.lo: src/execline/case.c src/include/execline/execline.h
src/execline/define.o src/execline/define.lo: src/execline/define.c src/include-local/exlsn.h
src/execline/dollarat.o src/execline/dollarat.lo: src/execline/dollarat.c
src/execline/elgetopt.o src/execline/elgetopt.lo: src/execline/elgetopt.c src/include/execline/execline.h
@@ -80,6 +81,8 @@ background: EXTRA_LIBS := -lskarnet ${SPAWN_LIB}
background: src/execline/background.o ${LIBEXECLINE}
backtick: EXTRA_LIBS := -lskarnet ${SPAWN_LIB}
backtick: src/execline/backtick.o ${LIBEXECLINE}
+case: EXTRA_LIBS := -lskarnet
+case: src/execline/case.o ${LIBEXECLINE}
define: EXTRA_LIBS := -lskarnet
define: src/execline/define.o ${LIBEXECLINE}
dollarat: EXTRA_LIBS := -lskarnet
diff --git a/package/modes b/package/modes
index 16a064a..17c52ce 100644
--- a/package/modes
+++ b/package/modes
@@ -1,13 +1,13 @@
background 0755
backtick 0755
-execline-cd 0755
+case 0755
define 0755
dollarat 0755
elgetopt 0755
elgetpositionals 0755
elglob 0755
-multidefine 0755
-multisubstitute 0755
+execline-cd 0755
+execline-umask 0755
emptyenv 0755
envfile 0755
exec 0755
@@ -33,16 +33,17 @@ ifte 0755
ifthenelse 0755
importas 0755
loopwhilex 0755
+multidefine 0755
+multisubstitute 0755
piperw 0755
pipeline 0755
+posix-cd 0755
+posix-umask 0755
redirfd 0755
runblock 0755
shift 0755
trap 0755
tryexec 0755
-execline-umask 0755
unexport 0755
wait 0755
withstdinas 0755
-posix-cd 0755
-posix-umask 0755
diff --git a/package/targets.mak b/package/targets.mak
index 423f464..a0e5970 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -1,6 +1,7 @@
BIN_TARGETS := \
background \
backtick \
+case \
define \
dollarat \
elgetopt \