Commit e4fffba2 authored by Justin Kromlinger's avatar Justin Kromlinger
Browse files

Fix test usage and cut field index

parent 194a38f8
......@@ -61,9 +61,9 @@ new_pkgver:
- grep -q "pkgrel=1" PKGBUILD
- source ./PKGBUILD
- 'echo "New version: ${new_pkgver}"'
- 'if [ "${source[0]}" == *::* ]; then
- 'if [[ "${source[0]}" == *::* ]]; then
source_url="$(echo "${source[0]}" | sed "s/^.*:://")";
filename="$(echo "${source[0]}" | cut -d: -f0)";
filename="$(echo "${source[0]}" | cut -d: -f1)";
else
source_url="${source[0]}";
filename="$(echo "$source_url" | rev | cut -d/ -f1 | rev)";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment