diff options
| -rw-r--r-- | README.md | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -77,22 +77,3 @@ cp .extras/hooks/* .git/hooks/ && chmod 0755 .git/hooks/{pre,post}-commit (`SBo/<package>.tar.gz`) for any added or updated package. To answer the prompt non-interactively, set `SBO_ARCHIVE=yes` or `SBO_ARCHIVE=no` in the environment. - -## Building an SBo archive on demand - -`.extras/mksboarchive <package>` builds the same `<package>.tar.gz` SBo -submission tarball the post-commit hook produces, but on demand by name -rather than at commit time: - -```bash -.extras/mksboarchive netexec # writes ./netexec.tar.gz -OUTPUT=/tmp .extras/mksboarchive webshells # writes /tmp/webshells.tar.gz -``` - -Run it from the repo root: it looks for a `<package>/<package>.SlackBuild` -below the current directory, removes any `sbodl` source symlinks from the -package directory first (so they never leak into the tarball), then archives -the directory. The output directory defaults to the current working directory -and can be overridden with the `OUTPUT` environment variable. This means it -works the same whether you run `.extras/mksboarchive` or an installed copy -(e.g. in `~/bin`), as long as you are in the repo root. |
