Browse Source

build-package.sh: fix typo

Chmod has to be called recursively.
emacs-27
Leonid Plyushch 6 years ago
parent
commit
41ceb1123d
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 4
      scripts/build/termux_step_start_build.sh

4
scripts/build/termux_step_start_build.sh

@ -94,8 +94,8 @@ termux_step_start_build() {
# Following directories may contain objects with RO-only permissions which # Following directories may contain objects with RO-only permissions which
# makes them undeletable. We need fix that. # makes them undeletable. We need fix that.
[ -d "$TERMUX_PKG_BUILDDIR" ] && chmod +w "$TERMUX_PKG_BUILDDIR" [ -d "$TERMUX_PKG_BUILDDIR" ] && chmod +w -R "$TERMUX_PKG_BUILDDIR"
[ -d "$TERMUX_PKG_SRCDIR" ] && chmod +w "$TERMUX_PKG_SRCDIR" [ -d "$TERMUX_PKG_SRCDIR" ] && chmod +w -R "$TERMUX_PKG_SRCDIR"
# Cleanup old state: # Cleanup old state:
rm -Rf "$TERMUX_PKG_BUILDDIR" \ rm -Rf "$TERMUX_PKG_BUILDDIR" \

Loading…
Cancel
Save