Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix 'versionswitcher.sh' to work on zsh

  • Loading branch information...
commit 5bebfae4e30dd1983f79b3eb82232e08871289b2 1 parent 01ce5d2
@kwatch authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 scripts/versionswitcher.sh
View
7 scripts/versionswitcher.sh
@@ -323,9 +323,10 @@ __vs_installable_versions() {
[ -f /usr/local/bin/perl ] && perl='/usr/local/bin/perl';
[ -f /usr/bin/perl ] && perl='/usr/bin/perl';
#
- local down=`__vs_downloader "-sL" "-q -O - --no-check-certificate"` || return 1
+ local down
+ down=`__vs_downloader "-sL" "-q -O - --no-check-certificate"` || return 1
if [ "$condense" = 'y' ]; then
- $down $url $url2 | $perl -e '
+ eval $down $url $url2 | $perl -e '
$sep = "'$sep'";
$rexp = q`'$rexp'`;
$none = "'$none'";
@@ -340,7 +341,7 @@ __vs_installable_versions() {
}
'
else
- $down $url $url2 | $perl -e '
+ eval $down $url $url2 | $perl -e '
$sep = "'$sep'";
$rexp = q`'$rexp'`;
$none = "'$none'";
Please sign in to comment.
Something went wrong with that request. Please try again.