summaryrefslogtreecommitdiff
path: root/cron-jobs/check_archlinux
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/check_archlinux')
-rwxr-xr-xcron-jobs/check_archlinux/parse_pkgbuilds.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/check_archlinux/parse_pkgbuilds.sh b/cron-jobs/check_archlinux/parse_pkgbuilds.sh
index 0faa29f..c2df7d1 100755
--- a/cron-jobs/check_archlinux/parse_pkgbuilds.sh
+++ b/cron-jobs/check_archlinux/parse_pkgbuilds.sh
@@ -113,7 +113,7 @@ source_pkgbuild() {
find_pkgbuilds() {
#Skip over some dirs
- local d="$(basename $1)"
+ local d="${1##*/}"
if [ "$d" = "CVS" -o "$d" = ".svn" ]; then
return
fi