apache / apache/airavata-mft

Project folder deletion while running build.sh

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
41
Forks
37
PR merge metrics
No merged PRs in 30d

Description

@DImuthuUpe I tried running the script at `scripts/build.sh`. However, the script deleted the whole folder where the repo was cloned. I took a peek into the script and there's this `rm -rf` at https://github.com/apache/airavata-mft/blob/master/scripts/build.sh#L22=

Probable solution:
- change the name of the target folder to something else instead of the main project folder name.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with scripts/build.sh and inspect the rm -rf command at the linked line, along with how its target folder is named. Confirm whether the target can resolve to the cloned project directory. Done means the build still uses its temporary target folder without deleting the repository; verify by running build.sh in a disposable clone.

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
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.