Browse Source
build-package.sh: fix typo
Chmod has to be called recursively.
android-5
Leonid Plyushch
6 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with
2 additions and
2 deletions
-
scripts/build/termux_step_start_build.sh
|
|
@ -95,8 +95,8 @@ termux_step_start_build() { |
|
|
|
|
|
|
|
# Following directories may contain objects with RO-only permissions which |
|
|
|
# makes them undeletable. We need fix that. |
|
|
|
[ -d "$TERMUX_PKG_BUILDDIR" ] && chmod +w "$TERMUX_PKG_BUILDDIR" |
|
|
|
[ -d "$TERMUX_PKG_SRCDIR" ] && chmod +w "$TERMUX_PKG_SRCDIR" |
|
|
|
[ -d "$TERMUX_PKG_BUILDDIR" ] && chmod +w -R "$TERMUX_PKG_BUILDDIR" |
|
|
|
[ -d "$TERMUX_PKG_SRCDIR" ] && chmod +w -R "$TERMUX_PKG_SRCDIR" |
|
|
|
|
|
|
|
# Cleanup old state: |
|
|
|
rm -Rf "$TERMUX_PKG_BUILDDIR" \ |
|
|
|