]>
Commit | Line | Data |
---|---|---|
558d2836 A |
1 | #!/bin/bash |
2 | ||
3 | # gen-dmg.sh | |
4 | # hfs | |
5 | # | |
6 | # Created by Max Holden on 11/3/15. | |
7 | # | |
8 | ||
9 | set -e | |
10 | ||
11 | mkdir -p "$DERIVED_FILE_DIR" | |
12 | env -i xcrun clang "$SRCROOT"/tests/img-to-c.c -lz -o "$DERIVED_FILE_DIR"/img-to-c | |
13 | ||
14 | "$DERIVED_FILE_DIR"/img-to-c -size 2g -type SPARSE -fs JHFS+ >"$1" | |
15 | ||
16 | echo "Created $1" |