Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

ISAICP-6544: Fix the restore_solr.sh script #2496

Merged
merged 2 commits into from
Jun 10, 2021
Merged

ISAICP-6544: Fix the restore_solr.sh script #2496

merged 2 commits into from
Jun 10, 2021

Conversation

claudiu-cristea
Copy link
Contributor

No description provided.

Comment on lines +74 to +77
# Normalize the snapshot dir to an absolute path.
cd ${SNAPSHOT_DIR}
SNAPSHOT_DIR=$(pwd)
cd ${CURRENT_DIR}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally always use realpath for this, but I saw just now on StackOverflow that this tool is not packaged by default for all distributions. So I think this solution is OK to make the script broadly compatible.

@pfrenssen pfrenssen merged commit 75e3c6c into develop Jun 10, 2021
@pfrenssen pfrenssen deleted the ISAICP-6544 branch June 10, 2021 16:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants