Skip to content

temp directory #4

@sramdeen

Description

@sramdeen

https://github.com/shannonpasto/AppleLoops/blob/d1069f49c8b90414374bd470e7663eed7b35d13d/download-install_apple_loops.sh#L44

Hi

First off: thanks for creating this amazing script. I have been struggling to get all content deployed reliably since the demise of appleloops and loopdown.

I tried running it 'as is' but kept coming up with an error

download-install_apple_loops.sh: line 111: /thelist.txt: Read-only file system

I looked into it a little and found that the $tmpDir variable was empty. When I looked at what's responsible for setting the value I noticed that tmpDir=$(mkdir -d) doesn't actually seem to work. -d is not listed in the man page as a valid flag and so I wondered if you had meant to use mktemp -d instead? I've changed it to tmpDir=$(mktemp -d) and all seems to be running well, it's currently downloading all of the content that loopdown missed, I believe possibly because of the change from "Logic Pro X" to "Logic Pro".

Thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions