aboutsummaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-04-09 14:28:44 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-04-09 14:28:44 +1200
commit53e3630f8234eae75b219914f3f78054eb989584 (patch)
tree71e63f6487a1608d43d36eae5af408365713b360 /check
parentSpecify install-login-shell as .PHONY target (diff)
downloaddotfiles-53e3630f8234eae75b219914f3f78054eb989584.tar.gz
dotfiles-53e3630f8234eae75b219914f3f78054eb989584.zip
Restructure shell install and check
Diffstat (limited to 'check')
-rw-r--r--check/login-shell.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/check/login-shell.sh b/check/login-shell.sh
new file mode 100644
index 00000000..20327b94
--- /dev/null
+++ b/check/login-shell.sh
@@ -0,0 +1,12 @@
+target=check-sh
+case ${SHELL##*/} in
+ bash)
+ target=check-bash ;;
+ ksh|ksh88|ksh93|mksh|pdksh)
+ target=check-ksh ;;
+ yash)
+ target=check-yash ;;
+ zsh)
+ target=check-zsh ;;
+esac
+make "$target"