Use -L instead of -h

pull/305/head
Andrew Rynhard 8 years ago
parent 9b3a2586f2
commit a5654cfec3

@ -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

@ -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

Loading…
Cancel
Save