}
url=$(echo "$url" | sed 's|https:\/\/|http:\/\/|g')
^ this $ will give a error info
It's a command in $(), why error?
Thanks, Zhangyu
- echo "$url" >> $1 done echo ")" >> $1
@@ -126,8 +128,7 @@ build_source_pkg() repo_dir="${repo_dir%.git*}::" fi }
- replace_source "PKGBUILD.src"
replace_source PKGBUILD.src
[ -n "$PKGBUILD_TAG" ] && replace_source "PKGBUILD-$PKGBUILD_TAG"
-- 2.23.0