Skip to content

Commit cf2dcc4

Browse files
committed
Use double quotes to stop the shell from complaining
1 parent 2cdb7ef commit cf2dcc4

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

LexC.seemode/Contents/Resources/Scripts/lexc-contlex-sorting.applescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ set ScriptPathName to UnixPath & ScriptName
2929
-- the following is a command to call an external script, in this case python
3030
-- notice the export preamble which is essential to make pbpaste work with
3131
-- utf8 content.
32-
set shellscriptString to "export DEVPATH=$(xcode-select -p); export LANG=en_US.UTF-8; pbpaste | $DEVPATH/usr/bin/python3 '" & ScriptPathName & "' --sort=contlex -"
32+
set shellscriptString to "export DEVPATH=$(xcode-select -p); export LANG=en_US.UTF-8; pbpaste | $DEVPATH/usr/bin/python3 \"" & ScriptPathName & "\" --sort=contlex -"
3333

3434
set shellresult to do shell script shellscriptString without altering line endings
3535

LexC.seemode/Contents/Resources/Scripts/lexc-giella-style.applescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ set ScriptPathName to UnixPath & ScriptName
2929
-- the following is a command to call an external script, in this case python
3030
-- notice the export preamble which is essential to make pbpaste work with
3131
-- utf8 content.
32-
set shellscriptString to "export DEVPATH=$(xcode-select -p); export LANG=en_US.UTF-8; pbpaste | $DEVPATH/usr/bin/python3 '" & ScriptPathName & "' --align -"
32+
set shellscriptString to "export DEVPATH=$(xcode-select -p); export LANG=en_US.UTF-8; pbpaste | $DEVPATH/usr/bin/python3 \"" & ScriptPathName & "\" --align -"
3333

3434
set shellresult to do shell script shellscriptString without altering line endings
3535

LexC.seemode/Contents/Resources/Scripts/lexc-rev-sorting.applescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ set ScriptPathName to UnixPath & ScriptName
2929
-- the following is a command to call an external script, in this case python
3030
-- notice the export preamble which is essential to make pbpaste work with
3131
-- utf8 content.
32-
set shellscriptString to "export DEVPATH=$(xcode-select -p); export LANG=en_US.UTF-8; pbpaste | $DEVPATH/usr/bin/python3 '" & ScriptPathName & "' --sort=revstem -"
32+
set shellscriptString to "export DEVPATH=$(xcode-select -p); export LANG=en_US.UTF-8; pbpaste | $DEVPATH/usr/bin/python3 \"" & ScriptPathName & "\" --sort=revstem -"
3333

3434
set shellresult to do shell script shellscriptString without altering line endings
3535

LexC.seemode/Contents/Resources/Scripts/lexc-reverse-sorting.applescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ set ScriptPathName to UnixPath & ScriptName
2929
-- the following is a command to call an external script, in this case python
3030
-- notice the export preamble which is essential to make pbpaste work with
3131
-- utf8 content.
32-
set shellscriptString to "export DEVPATH=$(xcode-select -p); export LANG=en_US.UTF-8; pbpaste | $DEVPATH/usr/bin/python3 '" & ScriptPathName & "' --sort=revlemma -"
32+
set shellscriptString to "export DEVPATH=$(xcode-select -p); export LANG=en_US.UTF-8; pbpaste | $DEVPATH/usr/bin/python3 \"" & ScriptPathName & "\" --sort=revlemma -"
3333

3434
set shellresult to do shell script shellscriptString without altering line endings
3535

LexC.seemode/Contents/Resources/Scripts/lexc-sorting.applescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ set ScriptPathName to UnixPath & ScriptName
2929
-- the following is a command to call an external script, in this case python
3030
-- notice the export preamble which is essential to make pbpaste work with
3131
-- utf8 content.
32-
set shellscriptString to "export DEVPATH=$(xcode-select -p); export LANG=en_US.UTF-8; pbpaste | $DEVPATH/usr/bin/python3 '" & ScriptPathName & "' --sort=alpha -"
32+
set shellscriptString to "export DEVPATH=$(xcode-select -p); export LANG=en_US.UTF-8; pbpaste | $DEVPATH/usr/bin/python3 \"" & ScriptPathName & "\" --sort=alpha -"
3333

3434
set shellresult to do shell script shellscriptString without altering line endings
3535

0 commit comments

Comments
 (0)