Skip to content

Commit

Permalink
Merge pull request #10 from ferlatte/mwf-cleanup-tmp-file
Browse files Browse the repository at this point in the history
Clean up tmp file.
  • Loading branch information
ferlatte authored Dec 8, 2024
2 parents 948b5b6 + ba83326 commit 1adf6df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prereqs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ prereqs_update() {
then
echo "Got it"
install -C "${prereqs_tmp}" "${PREREQS}"
rm "${prereqs_tmp}"
else
echo "Failed"
return 1
Expand Down Expand Up @@ -180,7 +181,6 @@ main() {
}

# Execute main() if this is run in standalone mode (vs. from a unit test)
ARGV0=$(basename "$0")
if [ "${ARGV0}" = 'prereqs' ]; then
if [ "${PREREQS}" = 'prereqs' ]; then
main "$@"
fi

0 comments on commit 1adf6df

Please sign in to comment.