Skip to content

Commit

Permalink
fix(cli/onivim#2803): Quote arguments in AppRun so they don't get ina…
Browse files Browse the repository at this point in the history
…dvertently split (onivim#2842)

Additional fix for onivim#2803 - the command line arguments were getting split in the AppImage's `AppRun` - this updates the script so that they continue to be grouped when they are passed to Onivim for parsing.
  • Loading branch information
bryphe authored Dec 15, 2020
1 parent 32c5054 commit 21cc8e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES_CURRENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### Bug Fixes

- #2845 - Workspace: Opening a file should not always open a folder (fixes #1983)
- #2842 - CLI: AppImage - fix argument parsing in `AppRun` (fixes #2803)

### Performance

Expand Down
2 changes: 1 addition & 1 deletion scripts/linux/AppRun
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export ONI2_ORIG_PATH="$PATH"
export ONI2_ORIG_LD_LIBRARY_PATH="$LD_LIBRARY_PATH"
export PATH="${HERE}/usr/bin:$PATH"
export LD_LIBRARY_PATH="${HERE}/usr/lib/:$LD_LIBRARY_PATH"
${HERE}/usr/bin/Oni2 $@
${HERE}/usr/bin/Oni2 "$@"

0 comments on commit 21cc8e9

Please sign in to comment.