Skip to content

Commit

Permalink
more explicit check
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Dec 8, 2023
1 parent 64f5375 commit 679994e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kicad/bin/export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ set -e

IN="$BOARD_PREFIX$BOARD_SUFFIX"

echo "Working on [$IN] based on BOARD_PREFIX [$BOARD_PREFIX] and BOARD_SUFFIX [$BOARD_SUFFIX]"

if [ -z "$IN" ]
then
echo "variables not set in revision.txt? \$IN is empty"
exit -1
fi

OUT_FOLDER=gerber
mkdir -p $OUT_FOLDER

Expand Down

0 comments on commit 679994e

Please sign in to comment.