æåã¯ããæ¸ãã¦ããã lockfile build.lock ... rm -f build.lockã ãã©ãlockfileã¯å¤±æããæã«ããã©ã«ãã§ã¯ç¡éã«ãªãã©ã¤ããããã¡ãã£ã¨åºæ¥å¿ã§$ for i in {1..100}; do ./foo.sh; done;ãããã100人ã®å¾ ã¡è¡åãåºæ¥ã¦ãã¾ã£ãã ããããã£ããã¨ã¯ãæ¢ã«èµ·åãã¦ãããç¶è¡ããªãã§çµäºãã ã£ãã®ã§-r 0ã§ãªãã©ã¤åæ°ã0ã«ããã lockfile -r 0 build.lock || exit 1 ... rm -f build.lock
{{#tags}}- {{label}}
{{/tags}}