(AT_INIT): Fix typos in yesterday's ZSH_VERSION fixes. Bug reported

by Raja R Harinath.
This commit is contained in:
Paul Eggert 2002-04-21 06:35:08 +00:00
parent d98cbd21bc
commit 62843c4d18
2 changed files with 2 additions and 2 deletions

View File

@ -569,7 +569,7 @@ _ATEOF
# Create the debugging script.
{
echo "#! /bin/sh"
echo '${ZSH_VERSION-:} alias -g '\''${1+"$@"}'\''='\''"$@"'\'''
echo 'test "${ZSH_VERSION+set}" = set && alias -g '\''${1+"$[@]"}'\''='\''"$[@]"'\'''
echo "cd $at_dir"
echo 'exec ${CONFIG_SHELL-'"$SHELL"'}' "$[0]" \
'-v -d' "$at_debug_args" "$at_group" '${1+"$[@]"}'

View File

@ -318,7 +318,7 @@ elif test $at_debug = false; then
for at_group in $at_fail_list; do
echo $at_n " $at_group$at_c"
( echo "#! /bin/sh"
echo '${ZSH_VERSION-:} alias -g '\''${1+"$@"}'\''='\''"$@"'\'''
echo 'test "${ZSH_VERSION+set}" = set && alias -g '\''${1+"$[@]"}'\''='\''"$[@]"'\'''
echo 'exec ${CONFIG_SHELL-'"$SHELL"'} '"$[0]"' -v -d '"$at_group"' ${1+"$[@]"}'
echo 'exit 1'
) >debug-$at_group.sh