File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ ETCD_FILE=""
7373while [[ " $# " -gt 0 ]]; do
7474 case $1 in
7575 --etcd-dir) ETCD_DATA_DIR=" $2 " ; shift ;;
76- -e|- -etcd-tmp-dir) ETCD_TMP_DIR=" $2 " ; shift ;;
76+ --etcd-tmp-dir) ETCD_TMP_DIR=" $2 " ; shift ;;
7777 -m|--db-file) DB_FILE=" $2 " ; shift ;;
78- --etcd-file) ETCD_FILE=" $2 " ; shift ;;
78+ -e|- -etcd-file) ETCD_FILE=" $2 " ; shift ;;
7979 * ) echo " Unknown parameter: $1 " ; exit 1 ;;
8080 esac
8181 shift
Original file line number Diff line number Diff line change 5353# Sync retina node
5454# ---------------------------
5555if [[ -f " $PIXELS_HOME /etc/retina" ]]; then
56- read -r retina home < " $PIXELS_HOME /etc/retina"
57- sync_node_lib " $retina " " $home "
56+ while read -r retina home; do
57+ # Skip empty lines or comments
58+ [[ -z " $retina " || " $retina " =~ ^# ]] && continue
59+ sync_node_lib " $retina " " $home "
60+ done < " $PIXELS_HOME /etc/retina"
5861fi
5962
You can’t perform that action at this time.
0 commit comments