Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ fi
CONFIG_DIR="${ROOT_DIR}/config";
if [ ! -d "$CONFIG_DIR" ]; then
echo "$CONFIG_DIR doesn't exist!";
exit 1;
[ -f "${FILE_1_PNG}" ] && exit 0 || exit 1;
Comment thread
mmathieum marked this conversation as resolved.
fi
Comment thread
mmathieum marked this conversation as resolved.
Comment thread
mmathieum marked this conversation as resolved.

AGENCY_NAME_FILE="${CONFIG_DIR}/agency_name";
if [ ! -f "$AGENCY_NAME_FILE" ]; then
echo "$AGENCY_NAME_FILE doesn't exist!";
exit 1;
[ -f "${FILE_1_PNG}" ] && exit 0 || exit 1;
fi
Comment thread
mmathieum marked this conversation as resolved.

AGENCY_NAME_COUNT=$(grep -c ^ $AGENCY_NAME_FILE);
Expand Down Expand Up @@ -93,7 +93,7 @@ fi
CITIES_FILE="${CONFIG_DIR}/cities";
if [ ! -f "$CITIES_FILE" ]; then
echo "$CITIES_FILE doesn't exist!";
exit 1;
[ -f "${FILE_1_PNG}" ] && exit 0 || exit 1;
Comment thread
mmathieum marked this conversation as resolved.
fi
CITIES_LABEL=$(head -n 1 $CITIES_FILE);
if [ -z "$CITIES_LABEL" ]; then
Expand Down Expand Up @@ -136,4 +136,4 @@ else
checkResult $?;
fi

echo ">> Generating feature-graphic/1.png... DONE";
echo ">> Generating feature-graphic/1.png... DONE";