sync-camera: Remove executable permission from file.
This happens because the device is a FAT32 formatted SD card, thus by default everything is executable. But when transferring to my computer this isn't necessary.
This commit is contained in:
parent
191784d1f2
commit
6eb456e667
@ -73,6 +73,7 @@ do
|
||||
then
|
||||
echo "Copying ${INPUT_FILE} to ${OUTPUT_PATH::-4}.jpg ..."
|
||||
cp "$INPUT_FILE" "${OUTPUT_PATH::-4}.jpg"
|
||||
chmod -x "${OUTPUT_PATH::-4}.jpg"
|
||||
fi
|
||||
|
||||
if [ $REMOVE_FILES -eq 1 ]
|
||||
|
Loading…
Reference in New Issue
Block a user