From 0f81c195fb13f3cc42efe5a455e91a6d1170453c Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Sun, 12 Aug 2018 22:06:10 +0900 Subject: [PATCH] Expand path to PHPUnit execubatle file This problem is made by #58. That occurs because "~" is escaped before being passed to the shell. --- phpunit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit.el b/phpunit.el index bffdedb..8b43102 100644 --- a/phpunit.el +++ b/phpunit.el @@ -163,7 +163,7 @@ ((functionp executable) (funcall executable)) ((and directory (file-exists-p (concat directory "vendor/bin/phpunit"))) - (concat directory "vendor/bin/phpunit")) + (expand-file-name (concat directory "vendor/bin/phpunit"))) ((executable-find "phpunit") "phpunit") (t (error "PHPUnit command/package is not installed")))))