diff options
author | 2011-04-26 07:37:42 -0400 | |
---|---|---|
committer | 2011-04-26 07:37:42 -0400 | |
commit | 7f5e7383defb3be8d3a0f0a4278edac585951ec5 (patch) | |
tree | 8ab783787618d635cdcd01defbc5af54b3fb73e9 | |
parent | Put double quotes back around '-name' to be consistent with the rest of the (diff) | |
download | eselect-7f5e7383defb3be8d3a0f0a4278edac585951ec5.tar.gz eselect-7f5e7383defb3be8d3a0f0a4278edac585951ec5.tar.bz2 eselect-7f5e7383defb3be8d3a0f0a4278edac585951ec5.zip |
Missed a trailing slash.
-rw-r--r-- | postgresql.eselect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql.eselect b/postgresql.eselect index 7ebbfde..1e2e623 100644 --- a/postgresql.eselect +++ b/postgresql.eselect @@ -90,7 +90,7 @@ unlinker() { ### Get Slots Function ### # Find all available slots in the preferred lib_dir() and return them. get_slots() { - echo $(find "${B_PATH}/$(lib_dir)" -maxdepth 1 -type d \ + echo $(find "${B_PATH}/$(lib_dir)/" -maxdepth 1 -type d \ -regex '.*postgresql-[0-9][0-9]*\.[0-9][0-9]*' | \ sed -re 's#.*([0-9]+\.[0-9]+)$#\1#' | sort -n) } |