Harcoding folder name is fine

old-commit-hash: 6737ea286065ebd6914be275f5f43839c1052b7b
This commit is contained in:
Willem Melching
2020-02-10 14:46:01 -08:00
parent 2563cb10e1
commit 3f374eac2c
+4 -6
View File
@@ -8,12 +8,10 @@ export GIT_AUTHOR_EMAIL="user@comma.ai"
export GIT_SSH_COMMAND="ssh -i /data/gitkey"
TARGET_DIR=/data/openpilot/
# Create folders
rm -rf $TARGET_DIR
mkdir -p $TARGET_DIR
cd $TARGET_DIR
rm -rf /data/openpilot
mkdir -p /data/openpilot
cd /data/openpilot
# Create git repo
git init
@@ -33,7 +31,7 @@ git commit -m "openpilot v$VERSION"
# Build signed panda firmware
pushd panda/board/
cp -r /tmp/pandaextra $TARGET_DIR
cp -r /tmp/pandaextra /data/openpilot/
RELEASE=1 make obj/panda.bin
mv obj/panda.bin /tmp/panda.bin
make clean