Skip to content

Commit

Permalink
Re-code "build.sh" for accepting other improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeaoX authored Nov 21, 2024
1 parent a5f174a commit 9d3913c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tur/bspwm-rounded/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="prefix=/data/data/com.termux/files/usr"

termux_step_pre_configure() {
TERMUX_LOCAL_DIR="${PREFIX}/opt/termux-local"
local TERMUX_LOCAL_DIR="${PREFIX}/opt/termux-local"

mkdir --parent --verbose --mode=755 ${TERMUX_LOCAL_DIR}
ln -sf ${TERMUX_LOCAL_DIR} ${PREFIX}/local
Expand All @@ -25,7 +25,7 @@ termux_step_pre_configure() {
echo -e "PATH+=':/data/data/com.termux/files/usr/local/bin'" > ${PREFIX}/etc/profile.d/local-path.sh

sed -i -E '1 i\#!/data/data/com.termux/files/usr/bin/bash\' ${PREFIX}/etc/profile.d/local-path.sh
chmod 755 ${PREFIX}/etc/profile.d/local-path.sh
chmod --verbose 755 ${PREFIX}/etc/profile.d/local-path.sh
${PREFIX}/etc/profile.d/local-path.sh
}

Expand All @@ -46,8 +46,8 @@ termux_step_post_make_install() {
}

termux_step_post_massage() {
BSPWM_CONFIG_DIR="${HOME}/.config/bspwm"
SXHKD_CONFIG_DIR="${HOME}/.config/sxhkd"
local BSPWM_CONFIG_DIR="${HOME}/.config/bspwm"
local SXHKD_CONFIG_DIR="${HOME}/.config/sxhkd"

mkdir --parent --verbose --mode=755 ${BSPWM_CONFIG_DIR}
mkdir --parent --verbose --mode=755 ${SXHKD_CONFIG_DIR}
Expand Down

0 comments on commit 9d3913c

Please sign in to comment.