mirror of
https://github.com/MiSTer-devel/Scripts_MiSTer.git
synced 2026-04-19 03:05:34 +00:00
Adds quotes to fix './cifs_mount.sh: line 251: [: !=: unary operator expected' error Co-authored-by: Marc Emmerson <marc@emmerson.io>
This commit is contained in:
@@ -248,7 +248,7 @@ else
|
||||
fi
|
||||
|
||||
MOUNT_SOURCE="//$SERVER/$SHARE"
|
||||
[ $SHARE_DIRECTORY != "" ] && MOUNT_SOURCE+=/$SHARE_DIRECTORY
|
||||
[ "$SHARE_DIRECTORY" != "" ] && MOUNT_SOURCE+=/$SHARE_DIRECTORY
|
||||
|
||||
if [ "$LOCAL_DIR" == "*" ] || { echo "$LOCAL_DIR" | grep -q "|"; }
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user