Harcoding folder name is fine

old-commit-hash: 6737ea2860
commatwo_master
Willem Melching 6 years ago
parent 2563cb10e1
commit 3f374eac2c
  1. 10
      release/build_release2.sh

@ -8,12 +8,10 @@ export GIT_AUTHOR_EMAIL="user@comma.ai"
export GIT_SSH_COMMAND="ssh -i /data/gitkey" export GIT_SSH_COMMAND="ssh -i /data/gitkey"
TARGET_DIR=/data/openpilot/
# Create folders # Create folders
rm -rf $TARGET_DIR rm -rf /data/openpilot
mkdir -p $TARGET_DIR mkdir -p /data/openpilot
cd $TARGET_DIR cd /data/openpilot
# Create git repo # Create git repo
git init git init
@ -33,7 +31,7 @@ git commit -m "openpilot v$VERSION"
# Build signed panda firmware # Build signed panda firmware
pushd panda/board/ pushd panda/board/
cp -r /tmp/pandaextra $TARGET_DIR cp -r /tmp/pandaextra /data/openpilot/
RELEASE=1 make obj/panda.bin RELEASE=1 make obj/panda.bin
mv obj/panda.bin /tmp/panda.bin mv obj/panda.bin /tmp/panda.bin
make clean make clean

Loading…
Cancel
Save