4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

メモ: bash の set

4
Last updated at Posted at 2019-11-18

参考

man set

引数

# 現在有効になっている設定値確認
set -o

# 現在有効になっている設定値確認 himBH のように、オプション値で表示
echo $-

# ジョブコントロールの有効化
set -m
# 定義一覧を確認
set

rpmbuild で no job controllとなる場合

スクリーンショット_2019-11-19_05-33-42.png

perl.spec
- %global parallel_tests 1
+ %global parallel_tests 0

 (略)
  %if %{parallel_tests}
      JOBS=$(printf '%%s' "%{?_smp_mflags}" | sed 's/.*-j\([0-9][0-9]*\).*/\1/')
      LC_ALL=C TEST_JOBS=$JOBS make test_harness
  %else
      LC_ALL=C make test
  %endif

別のエラーが出たけどそれは別の話。

スクリーンショット_2019-11-19_06-36-00.png

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?