Commit a5654cfe authored by Andrew Rynhard's avatar Andrew Rynhard

Use -L instead of -h

parent 9b3a2586
function omf.bundle.add -a type name_or_url function omf.bundle.add -a type name_or_url
if test -h $OMF_CONFIG/bundle if test -L $OMF_CONFIG/bundle
set bundle (readlink $OMF_CONFIG/bundle) set bundle (readlink $OMF_CONFIG/bundle)
else else
set bundle $OMF_CONFIG/bundle set bundle $OMF_CONFIG/bundle
......
function omf.bundle.remove function omf.bundle.remove
if test -h $OMF_CONFIG/bundle if test -L $OMF_CONFIG/bundle
set bundle (readlink $OMF_CONFIG/bundle) set bundle (readlink $OMF_CONFIG/bundle)
else else
set bundle $OMF_CONFIG/bundle set bundle $OMF_CONFIG/bundle
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment