f3d58d9042
The behavior of test -e and [[ -e against broken symlinks is to fail even if the symlink exists. However we want to test if the link exists or if there is a file in that location. Therefore switch from test -e to test -L and test -f to check if the file or link exists regardless of link target validity. Change-Id: I84a9b6731eccf950707be50aef464a2de1e33e8e |
||
---|---|---|
.. | ||
common-defaults | ||
common-functions | ||
dib-run-parts | ||
die | ||
disk-image-create | ||
img-defaults | ||
img-functions | ||
outfilter.py | ||
ramdisk-defaults | ||
ramdisk-functions | ||
ramdisk-image-create |