Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Closes GH-1 Don't cd into files

  • Loading branch information...
commit b4461f4a3d43677145dfe6e4de28670a810648b6 1 parent 5e31f19
@isaacs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ryp
View
2  ryp
@@ -59,7 +59,7 @@ ls_ () {
return 0
fi
echo $pref/$i
- ( cd "$i" &>/dev/null ; ls_ $pref/$i ) || true
+ [ -d $i ] && ( cd "$i" &>/dev/null ; ls_ $pref/$i ) || true
done
}
Please sign in to comment.
Something went wrong with that request. Please try again.