root commited on 2011-01-17 18:22:24 Showing 1 changed files, with 1 additions and 1 deletions.
@@ -17,7 +17,7 @@ then
ASK=1
if [ -L $DST ]
then
- D=`ls -l $DST|awk '{print $11}'`
+ D=`ls -l $DST|sed 's/.* -> //'`
if [ "$D" = "$SRC" ]
echo "Symbolic link $DST already exist. Pass."