Use -L instead of -h

This commit is contained in:
Andrew Rynhard 2016-04-19 00:34:33 -07:00
parent 9b3a2586f2
commit a5654cfec3
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
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)
else
set bundle $OMF_CONFIG/bundle

View File

@ -1,5 +1,5 @@
function omf.bundle.remove
if test -h $OMF_CONFIG/bundle
if test -L $OMF_CONFIG/bundle
set bundle (readlink $OMF_CONFIG/bundle)
else
set bundle $OMF_CONFIG/bundle