diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-06-22 04:52:52 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-02-10 18:06:40 -0300 |
commit | d4639bfc4425c404841ff0cdc36bc05665c7986e (patch) | |
tree | c57f868dc472a6f8a94bcbe237d38493df27baa2 /mkdeb.sh | |
parent | RELNOTES: add build items (diff) | |
download | firejail-d4639bfc4425c404841ff0cdc36bc05665c7986e.tar.gz firejail-d4639bfc4425c404841ff0cdc36bc05665c7986e.tar.zst firejail-d4639bfc4425c404841ff0cdc36bc05665c7986e.zip |
build: mkdeb.sh: pass all arguments to ./configure
Instead of using the first argument as the `EXTRA_VERSION` variable.
This should make the usage of mkdeb.sh less confusing, especially when
one is not trying to set the variable.
As for using `EXTRA_VERSION` (which is still optional with this commit),
make sure that it is set as an environment variable before caling
mkdeb.sh. Example:
env EXTRA_VERSION=-apparmor ./mkdeb.sh --enable-apparmor
See also commit 9a0fbbd71 ("mkdeb.sh.in: pass remaining arguments to
./configure", 2022-05-13) / PR #5154.
Diffstat (limited to 'mkdeb.sh')
-rwxr-xr-x | mkdeb.sh | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -10,10 +10,6 @@ set -e | |||
10 | 10 | ||
11 | . "$(dirname "$0")/config.sh" | 11 | . "$(dirname "$0")/config.sh" |
12 | 12 | ||
13 | EXTRA_VERSION=$1 | ||
14 | |||
15 | test "$#" -gt 0 && shift | ||
16 | |||
17 | CODE_ARCHIVE="$TARNAME-$VERSION.tar.xz" | 13 | CODE_ARCHIVE="$TARNAME-$VERSION.tar.xz" |
18 | CODE_DIR="$TARNAME-$VERSION" | 14 | CODE_DIR="$TARNAME-$VERSION" |
19 | INSTALL_DIR="${INSTALL_DIR}${CODE_DIR}/debian" | 15 | INSTALL_DIR="${INSTALL_DIR}${CODE_DIR}/debian" |