pkglist.awk: Handle the (hopefully rare) case of $ROOT usage

This commit is contained in:
Robby Workman 2017-12-30 01:06:40 -06:00
parent 70948050f9
commit 47a185d6c6

View file

@ -3,7 +3,7 @@
fs=FS fs=FS
FS="/" ; OFS="/" FS="/" ; OFS="/"
$0=INPUT $0=INPUT
if ( $2 != "var" ) { if ( $(NF-3) != "var" ) {
DIR=$2 DIR=$2
FULLPACK=$NF FULLPACK=$NF
} else { } else {