We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61d02ff commit d8772beCopy full SHA for d8772be
src/screenshot-settings.sh
@@ -48,15 +48,15 @@ fi
48
49
# Determine and set the new value
50
if [ "$1" = "disable-shadows" ]; then
51
- if [ "$DISABLE_SHADOWS" = $TRUE ]; then
+ if [ "$DISABLE_SHADOWS" = "$TRUE" ]; then
52
DISABLE_SHADOWS=$FALSE
53
else
54
DISABLE_SHADOWS=$TRUE
55
fi
56
defaults write com.apple.screencapture disable-shadow -bool $DISABLE_SHADOWS
57
killall SystemUIServer
58
elif [ "$1" = "type" ]; then
59
- if [ "$TYPE" = $PNG ]; then
+ if [ "$TYPE" = "$PNG" ]; then
60
TYPE=$JPEG
61
62
TYPE=$PNG
0 commit comments