Skip to content
Snippets Groups Projects

Fix current directory issue when called from a different drive

minicoin fails to run if current directory is on a different drive than the minicoin install drive.

The cause of the issue is that minicoin.cmd uses 'cd' to change to its install directory. A naked 'cd' does not change drive. 'pushd' or 'cd /D' also changes drive.

This patch fixes the problem by using pushd instead of cd to change the current directory.

Fixes #37 (closed)

Edited by Jøger Hansegård

Merge request reports

Approved by

Merged by Volker HilsheimerVolker Hilsheimer 1 year ago (Nov 26, 2023 12:05pm UTC)

Merge details

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading