From 9af599eb3eb81f467225ff80fefab8010dbfdf9b Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sun, 29 Mar 2020 02:40:00 +0000
Subject: [PATCH] better string comparison

---
 backup.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/backup.sh b/backup.sh
index e0995d2..bb0c1d6 100755
--- a/backup.sh
+++ b/backup.sh
@@ -2,7 +2,7 @@
 
 cd /home/joel/OneDrive
 
-if [ $1 == "sync" ]; then
+if [ "$1" = "sync" ]; then
 	echo Syncing
 	BACKUP_DIR="/backup/work/"
 	echo OneDrive Personal

--
Gitblit v1.9.3