diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-22 19:43:53 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-22 19:43:53 +0000 |
commit | b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71 (patch) | |
tree | 5948e97345062a759a5ab8d355b0b49849abcfcf /user/clang | |
parent | d61220e97e3a4fec8c1e43970cb1408f790c2c2e (diff) | |
parent | 6bd200ed124893c95fda0335b684b26eba0bb743 (diff) | |
download | packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.gz packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.bz2 packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.xz packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.zip |
Merge branch 'bashisms' into 'master'
Purge bashisms, adduser, and addgroup from packages.git
See merge request adelie/packages!293
Diffstat (limited to 'user/clang')
-rw-r--r-- | user/clang/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/user/clang/APKBUILD b/user/clang/APKBUILD index e5ed50d06..bd24476b8 100644 --- a/user/clang/APKBUILD +++ b/user/clang/APKBUILD @@ -47,7 +47,7 @@ build() { make clang-tblgen # too memory hungry - if [ -z "$JOBS" -o $JOBS -gt 32 ]; then + if [ -z "$JOBS" ] || [ $JOBS -gt 32 ]; then make -j32 else make @@ -71,13 +71,13 @@ package() { mkdir -p "$pkgdir"/usr/lib/llvm$_llvmver/bin mkdir -p "$pkgdir"/usr/lib/llvm$_llvmver/lib for _dir in bin lib; do - pushd "$pkgdir"/usr/$_dir + cd "$pkgdir"/usr/$_dir for _file in *; do [ -f $_file ] || continue ln -s "../../../$_dir/$_file" \ "$pkgdir"/usr/lib/llvm$_llvmver/$_dir/$_file done - popd + cd "$OLDPWD" done # needed for at least Qt Creator |