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

util: athena-run: use tmp directory, fix filetype #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jan 14, 2024

  1. util: athena-run: use tmp directory, fix filetype

    Change athena-run shell script to use the system's `tmp`
    directory rather than the ATHENA_HOME directory.
    Installing athena to ATHENA_HOME that is not writeable
    to all users, i.e. installing athena as a shared application,
    makes the athena-run script useless.
    By using the system's `tmp` directory you are able to write
    the temporary file needed without having write access to
    ATHENA_HOME.
    
    Fixes a filetype issue when trying to load a .ath file with
    athena-run. Using athena-run with example.ath results
    in athena loading example.ath.ath. Which is unintended behavior.
    MacroLens committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    7f5bfca View commit details
    Browse the repository at this point in the history
  2. util: athena-run: avoid file name collisions

    Use a temporary with random string to avoid
    collisions if multiple users are using athena-run.
    MacroLens committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    ce3c8fd View commit details
    Browse the repository at this point in the history