drop auto sourcing of constants; need a better solution for this

This commit is contained in:
Dustin Kirkland 2011-07-19 18:09:48 -05:00
commit 58c1a2b4d1

View file

@ -40,7 +40,7 @@ while true; do
fi fi
now=$(date +%s) now=$(date +%s)
# Re-source configuration, if changed since last run # Re-source configuration, if changed since last run
for i in "${BYOBU_PREFIX}/share/$PKG/status/status" "${BYOBU_PREFIX}/share/$PKG/status/statusrc" "$BYOBU_CONFIG_DIR/status" "$BYOBU_CONFIG_DIR/statusrc" "$BYOBU_CONFIG_DIR/color" "${BYOBU_PREFIX}/lib/$PKG/."*; do for i in "${BYOBU_PREFIX}/share/$PKG/status/status" "${BYOBU_PREFIX}/share/$PKG/status/statusrc" "$BYOBU_CONFIG_DIR/status" "$BYOBU_CONFIG_DIR/statusrc"; do
[ -r "$i" ] && [ "$i" -nt "$BYOBU_RUN_DIR/status" ] && . "$i" [ -r "$i" ] && [ "$i" -nt "$BYOBU_RUN_DIR/status" ] && . "$i"
done done
for i in "$BYOBU_PREFIX/lib/$PKG/"*; do for i in "$BYOBU_PREFIX/lib/$PKG/"*; do