diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-08 09:18:51 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-08 09:18:51 +0200 |
| commit | 5c4b45312bc5265529c9b0091656a31734764101 (patch) | |
| tree | 40fca84e9906f908063cb2f4a37014cee095fdb0 | |
| parent | 43b73353fadb189e922506302839c25b4c4d6c7d (diff) | |
| download | slackware-pentesting-suite-5c4b45312bc5265529c9b0091656a31734764101.tar.gz slackware-pentesting-suite-5c4b45312bc5265529c9b0091656a31734764101.zip | |
mksboarchive: default output to SBo/ directory
| -rwxr-xr-x | .extras/mksboarchive | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.extras/mksboarchive b/.extras/mksboarchive index fc54709..8691f48 100755 --- a/.extras/mksboarchive +++ b/.extras/mksboarchive @@ -13,7 +13,7 @@ package is the <package-name>/ directory below the current directory, with a matching <package-name>.SlackBuild. Any sbodl source symlinks in the package directory are removed first so they never leak into the tarball. -Output goes to the current directory by default; set OUTPUT to override: +Output goes to SBo/ by default; set OUTPUT to override: OUTPUT=/tmp ${0##*/} feroxbuster # writes /tmp/feroxbuster.tar.gz EOF } @@ -26,9 +26,9 @@ esac pkg=$1 # Run this from the repo root. The package is the <pkg>/ directory below the -# current directory; the tarball is written to the current directory by -# default, override with the OUTPUT env var. -OUTPUT=${OUTPUT:-$PWD} +# current directory; the tarball is written to SBo/ by default, override with +# the OUTPUT env var. +OUTPUT=${OUTPUT:-$PWD/SBo} # Must be a real package dir below CWD with a matching .SlackBuild. if [ ! -f "$pkg/$pkg.SlackBuild" ]; then |
