linkedin / linkedin/dr-elephant
installer tries to access /scripts in the root
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 839
- PR merge metrics
- No merged PRs in 30d
Description
compile.sh shows
Try 'cp --help' for more information.
+ mkdir /scripts/
mkdir: cannot create directory ‘/scripts/’: Permission denied
+ cp -r /opt/elephant/dr-elephant/scripts/pso /scripts/
cp: cannot create directory ‘/scripts/’: Permission denied
+ zip -r .zip
zip error: Nothing to do! (.zip)
+ mv .zip /opt/elephant/dr-elephant/dist/
mv: cannot stat ‘.zip’: No such file or directory
How to fix it so it doesn't try to access /scripts? (in root)
I assume it wanted to use scripts in the current directory.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading compile.sh and tracing the commands that create /scripts, copy the pso directory, and create the zip archive. Verify the intended working-directory paths and run the installer from a normal checkout; done means it no longer writes under /scripts and produces the archive in /opt/elephant/dr-elephant/dist/.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100