Skip to content

Commit

Permalink
Fix symbolic link on fat32
Browse files Browse the repository at this point in the history
  • Loading branch information
roleoroleo committed May 15, 2021
1 parent faf9e82 commit 182e59c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/pack_fw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ echo -n ">>> Copying files from the build directory to ${TMP_DIR}... "
cp -R $BUILD_DIR/sonoff-hack/* $TMP_DIR/sonoff-hack || exit 1
echo "done!"

# create symlinks if necessary
echo -n ">>> Create symlinks... "
(cd $TMP_DIR/sonoff-hack/bin/ && ln -s ptz_$CAMERA_NAME ptz > /dev/null 2>&1)
# rename binaries based on camera name
echo -n ">>> Rename binaries... "
(cd $TMP_DIR/sonoff-hack/bin/ && cp ptz_$CAMERA_NAME ptz > /dev/null 2>&1)
echo "done!"

# adding defaults
Expand Down

0 comments on commit 182e59c

Please sign in to comment.