Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loadups-all.sh -apps fails if path used to cd to medley/scripts has medley as sym link #1922

Open
MattHeffron opened this issue Dec 18, 2024 · 0 comments

Comments

@MattHeffron
Copy link
Contributor

Describe the bug
I was trying to build loadups to test the rmk36 branch.
loadups-all.sh -apps failed to build the apps sysout because finding Notecards failed.

To Reproduce
Steps to reproduce the behavior:

  1. This is on Windows 11 using WSL Ubuntu.
  2. Created symbolic link in my home directory to medley on different Windows file system drive:
    ~/medley => /mnt/e/Interlisp/medley/
  3. Checked out the rmk36--Tedit-fifth-round-2 branch.
  4. Connected to ~/medley/scripts
  5. Entered the command: ./loadups-all.sh -apps
  6. It proceeded correctly until loadup-apps-from-full:
Error: Cannot find the Notecards directory
It should be located at /home/matt/medley/../notecards or
/home/matt/medley/../../notecards.  But its not.
Exiting
----- loadup-all.sh: FAILURE -----
  1. NOTE: I also have a home directory symbolic link: ~/Interlisp => /mnt/e/Interlisp/ and connecting to ~/Interlisp/medley/scripts and entering the command as above, works correctly.

Expected behavior
I expected that the script can find the Notecards repo directory. (I don't know if that's reasonably possible within the shell script.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant