Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=f4aed276eba503bf91089279595435e5c11f3ab5

commit f4aed276eba503bf91089279595435e5c11f3ab5
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Wed Mar 24 12:58:31 2010 +0100

Fsubmv: don't try to be idit proof when checking for so-called typos

diff --git a/source/include/util.sh b/source/include/util.sh
index fba4b37..38dce90 100644
--- a/source/include/util.sh
+++ b/source/include/util.sh
@@ -263,7 +263,7 @@ Fsubmv()
msg2 "$2 -> $3"
for i in "$destdir"/$2 # expand $2 if possible
do
-               if [ ! -e "$i" ]; then # expand failed ?
+               if [ ! -e "$i" -a ! -h "$i" ]; then # expand failed ?
Fmessage "No such file $2$info!! Typo? ($i)"
Fdie
fi
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to