Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.
Permalink
Browse files
Attempted to fix sed syntax in scripts/build.sh
  • Loading branch information
hwittenborn committed May 2, 2021
1 parent 019f8cd commit e8baab83ecbc59ada84330f12c93c151731a509a
Showing 1 changed file with 4 additions and 2 deletions.
@@ -16,8 +16,10 @@ elif [[ "${release_type}" == "alpha" ]]; then
sed -i "s/conflicts=.*/conflicts=('mpm')/" src/PKGBUILD
fi

for variable in pkgname release_type FUNCTIONS_DIR REPO_DIR; do
sed 's/${'$variable'}/'$(eval echo \${$variable})/g src/PKGBUILD
for i in pkgname release_type FUNCTIONS_DIR REPO_DIR; do
variable_name="\${$i}"
variable_product="$(eval echo \${$i})"
sed -i "s;$variable_name;$variable_product;g" src/PKGBUILD
done

# Set up repository and install makedeb

0 comments on commit e8baab8

Please sign in to comment.