Skip to content

Commit

Permalink
don't $SUDO with tee
Browse files Browse the repository at this point in the history
  • Loading branch information
takano32 committed Mar 10, 2024
1 parent 3e472b5 commit c0a9cb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion archlinux/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ while :; do $SUDO makepkg -o --skippgpcheck && break || sleep 5; done
# `makepkg` in `$BUILD_DIR/linux`
JOBS=$(getconf _NPROCESSORS_ONLN)
JOBS=$(expr "$JOBS" + "$JOBS")
echo "MAKEFLAGS='-j$JOBS'" | $SUDO tee -a /etc/makepkg.conf
echo "MAKEFLAGS='-j$JOBS'" | tee -a /etc/makepkg.conf
$SUDO makepkg --skippgpcheck

cd $BUILD_DIR
Expand Down
2 changes: 1 addition & 1 deletion manjarolinux/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ while :; do $SUDO makepkg -o --skippgpcheck && break || sleep 5; done
# `makepkg` in `$BUILD_DIR/linux`
JOBS=$(getconf _NPROCESSORS_ONLN)
JOBS=$(expr "$JOBS" + "$JOBS")
echo "MAKEFLAGS='-j$JOBS'" | $SUDO tee -a /etc/makepkg.conf
echo "MAKEFLAGS='-j$JOBS'" | tee -a /etc/makepkg.conf
$SUDO makepkg --skippgpcheck

cd $BUILD_DIR
Expand Down

0 comments on commit c0a9cb0

Please sign in to comment.