Spaces:
Sleeping
Sleeping
File size: 350 Bytes
3860419 |
1 2 3 4 5 6 7 8 9 10 11 |
#!/usr/bin/env sh
# -*- coding: utf-8 -*-
project_dir="/project"
# Run the gpt engineer script
gpt-engineer $project_dir "$@"
# Patch the permissions of the generated files to be owned by nobody except prompt file
find "$project_dir" -mindepth 1 -maxdepth 1 ! -path "$project_dir/prompt" -exec chown -R nobody:nogroup {} + -exec chmod -R 777 {} +
|