diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2011-03-22 19:47:58 -0400 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2011-03-22 19:47:58 -0400 |
commit | 83e0fd3da11bd35153079de7b00b5556888235a9 (patch) | |
tree | 287ef6fa593548af9d6e984268f4160dbe753a7a | |
parent | Fixing lib references. ${EROOT}/usr/lib(64)?/postgresql-${SLOT}/lib(64)?/ (diff) | |
download | eselect-83e0fd3da11bd35153079de7b00b5556888235a9.tar.gz eselect-83e0fd3da11bd35153079de7b00b5556888235a9.tar.bz2 eselect-83e0fd3da11bd35153079de7b00b5556888235a9.zip |
Localize variables.
-rw-r--r-- | postgresql.eselect | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/postgresql.eselect b/postgresql.eselect index 06896c9..39ea024 100644 --- a/postgresql.eselect +++ b/postgresql.eselect @@ -138,14 +138,14 @@ do_set() { printf "\tGenerating new links..." # Sources and targets for header files - sources=( + local sources=( ${B_PATH}/include/postgresql-${SLOT} ${B_PATH}/include/postgresql-${SLOT}/libpq-fe.h ${B_PATH}/include/postgresql-${SLOT}/pg_config_manual.h ${B_PATH}/include/postgresql-${SLOT}/libpq ${B_PATH}/include/postgresql-${SLOT}/postgres_ext.h ) - targets=( + local targets=( ${B_PATH}/include/postgresql ${B_PATH}/include/libpq-fe.h ${B_PATH}/include/pg_config_manual.h @@ -234,7 +234,7 @@ do_update() { if [ ${index} -eq 0 ] ; then write_warning_msg "No slots found!" write_warning_msg "Removing files (Control-C to abort) in..." - i=6 + local i=6 while [ $[i--] -gt 0 ] ; do printf " $i" sleep 1 |