Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • play.it - Core library and scripts play.it - Core library and scripts
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Antoine Le Gonidec
  • play.it - Core library and scriptsplay.it - Core library and scripts
  • Merge requests
  • !210

Fix use of globbing in CONFIG_DIRS / DATA_DIRS

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Antoine Le Gonidec requested to merge play.it-2_library/fix/init-prefix-dirs into play.it-2 Nov 11, 2018
  • Overview 2
  • Commits 1
  • Changes 3

As of 2.10.3, only two scripts use globbing for DATA_DIRS:

  • play.it-2/games/play-heroes-chronicles.sh
  • play.it-2/games/play-war-for-the-overworld.sh

With 2.10.3, the launchers for these games create directories in $XDG_DATA_HOME/games/$game_id treating * as a litteral character.

With this patch, the * are interpreted as shell globbing, so directories are created using the expected names.

Edited Nov 12, 2018 by Antoine Le Gonidec
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: play.it-2_library/fix/init-prefix-dirs