Skip to content

Commit 10d3ff1

Browse files
committedMar 25, 2017
Add quoting
Add quoting around variables and parameters Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
1 parent 8fe23db commit 10d3ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎odsync

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717

1818
# If file has .cloud extension, sync it
1919
ext="${1##*.}"
20-
if [ $ext == "cloud" ]; then
20+
if [ "$ext" = "cloud" ]; then
2121
$ODCMD sync "$1"
2222
else
2323
echo "Error: Not an odrive placeholder file"

0 commit comments

Comments
 (0)
Please sign in to comment.