diff options
author | Xuanrui Qi | 2020-08-09 03:12:32 +0900 |
---|---|---|
committer | Xuanrui Qi | 2020-08-09 03:12:32 +0900 |
commit | f553da84cccbda53f4ccf176c977abdda3b63dca (patch) | |
tree | 30be6a98a7ee77b125eccf6ec4a1145f2e249ddd /zsh-fix.patch | |
parent | 6b99898e10fa54a488092dbc8ca8fc59c6f04e76 (diff) | |
download | aur-f553da84cccbda53f4ccf176c977abdda3b63dca.tar.gz |
Added fix for zsh users
Diffstat (limited to 'zsh-fix.patch')
-rw-r--r-- | zsh-fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zsh-fix.patch b/zsh-fix.patch new file mode 100644 index 000000000000..1fd83a8d80ed --- /dev/null +++ b/zsh-fix.patch @@ -0,0 +1,12 @@ +--- composerxe/linux/bin/compilervars.sh 2020-07-23 05:25:54.000000000 +0900 ++++ composerxe/linux/bin/compilervars_fix.sh 2020-08-09 02:47:46.130971704 +0900 +@@ -112,7 +112,8 @@ + # ------------------function remove_duplicate_paths---------------------------- + remove_duplicate_paths() { + local arg=$1 +- local arr=(`echo ${!arg} | sed 's/:/\n/g'`) ++ eval "value=\"\${$arg}\"" ++ local arr=(`echo ${value} | sed 's/:/\n/g'`) + local fixarr=() + local found= + local i=0 |