commit 27116753b47ace2a3bca511b1d50b60ac2eeb323
parent 4f13ae30511a23c47baca9d5d7accd1d7b9f61b7
Author: finwo <finwo@pm.me>
Date: Mon, 1 Jan 2024 21:43:58 +0100
Fix brainfart on new if statement
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dist/dep b/dist/dep
@@ -395,7 +395,7 @@ function cmd_install_dep {
fi
# Handle any os-generic build-steps defined in the package.ini
- if [ ! -z "$ISNEW" ] && ; then
+ if [ ! -z "$ISNEW" ]; then
while read line; do
buildcmd=${line#*=}
bash -c "cd ${CMD_INSTALL_PKG_DEST}/${name} ; ${buildcmd}"
diff --git a/src/command/install/index.sh b/src/command/install/index.sh
@@ -151,7 +151,7 @@ function cmd_install_dep {
fi
# Handle any os-generic build-steps defined in the package.ini
- if [ ! -z "$ISNEW" ] && ; then
+ if [ ! -z "$ISNEW" ]; then
while read line; do
buildcmd=${line#*=}
bash -c "cd ${CMD_INSTALL_PKG_DEST}/${name} ; ${buildcmd}"