xbps-src: XBPS_MAKEJOBS cannot be readonly, it's overwritten later.
This commit is contained in:
parent
bd846a98bd
commit
95538529b4
1 changed files with 1 additions and 1 deletions
2
xbps-src
2
xbps-src
|
@ -373,7 +373,7 @@ while getopts "a:CEfgGhH:Ij:Lm:No:r:tV" opt; do
|
||||||
H) readonly XBPS_HOSTDIR="$(readlink -m $OPTARG 2>/dev/null)"; XBPS_OPTIONS+=" -H $XBPS_HOSTDIR";;
|
H) readonly XBPS_HOSTDIR="$(readlink -m $OPTARG 2>/dev/null)"; XBPS_OPTIONS+=" -H $XBPS_HOSTDIR";;
|
||||||
h) usage && exit 0;;
|
h) usage && exit 0;;
|
||||||
I) readonly XBPS_SKIP_DEPS=1; XBPS_OPTIONS+=" -I";;
|
I) readonly XBPS_SKIP_DEPS=1; XBPS_OPTIONS+=" -I";;
|
||||||
j) readonly XBPS_MAKEJOBS="$OPTARG"; XBPS_OPTIONS+=" -j $OPTARG";;
|
j) export XBPS_MAKEJOBS="$OPTARG"; XBPS_OPTIONS+=" -j $OPTARG";;
|
||||||
L) export NOCOLORS=1; XBPS_OPTIONS+=" -L";;
|
L) export NOCOLORS=1; XBPS_OPTIONS+=" -L";;
|
||||||
m) readonly XBPS_MASTERDIR=$(readlink -m $OPTARG 2>/dev/null); XBPS_OPTIONS+=" -m $XBPS_MASTERDIR";;
|
m) readonly XBPS_MASTERDIR=$(readlink -m $OPTARG 2>/dev/null); XBPS_OPTIONS+=" -m $XBPS_MASTERDIR";;
|
||||||
N) readonly XBPS_SKIP_REMOTEREPOS=1; XBPS_OPTIONS+=" -N";;
|
N) readonly XBPS_SKIP_REMOTEREPOS=1; XBPS_OPTIONS+=" -N";;
|
||||||
|
|
Loading…
Reference in a new issue