From 182e59c9120a4022aeb9982aab5652a29ed0a11f Mon Sep 17 00:00:00 2001 From: roleo Date: Sat, 15 May 2021 15:50:41 +0200 Subject: [PATCH] Fix symbolic link on fat32 --- scripts/pack_fw.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/pack_fw.sh b/scripts/pack_fw.sh index f1763e4..89d9dde 100755 --- a/scripts/pack_fw.sh +++ b/scripts/pack_fw.sh @@ -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