Lines 194-200
Link Here
|
194 |
|
194 |
|
195 |
# Resolve symlinks |
195 |
# Resolve symlinks |
196 |
while test -L $tmp_fname; do |
196 |
while test -L $tmp_fname; do |
197 |
tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> %\1%p'` |
197 |
tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> \(.*\)%\1%p'` |
198 |
if test -z "$tmp_new_fname"; then |
198 |
if test -z "$tmp_new_fname"; then |
199 |
echo "Unrecognized ls output" 2>&1 |
199 |
echo "Unrecognized ls output" 2>&1 |
200 |
exit 1 |
200 |
exit 1 |