summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/pkglist.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/pkglist.awk b/files/pkglist.awk
index 5a0c18e..9b4b1bc 100644
--- a/files/pkglist.awk
+++ b/files/pkglist.awk
@@ -3,7 +3,7 @@
fs=FS
FS="/" ; OFS="/"
$0=INPUT
- if ( $2 != "var" ) {
+ if ( $(NF-3) != "var" ) {
DIR=$2
FULLPACK=$NF
} else {