mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 17:39:56 +02:00
Imported from ../bash-2.04.tar.gz.
This commit is contained in:
@@ -46,8 +46,8 @@ fi
|
||||
oldpat=$1
|
||||
newpat=$2
|
||||
|
||||
set $1
|
||||
if [ ! -a "$1" ]; then
|
||||
set -- $1
|
||||
if [ ! -e "$1" ]; then
|
||||
echo "$name: no files match $oldpat."
|
||||
exit 1
|
||||
fi
|
||||
@@ -79,7 +79,7 @@ while :; do
|
||||
done
|
||||
|
||||
if [ $i -eq 1 ]; then
|
||||
print -u2 "No globbing chars in pattern."
|
||||
echo "No globbing chars in pattern." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user