mirror of
https://github.com/rworkman/slackpkg
synced 2025-01-13 20:03:38 +01:00
pkglist.awk: Handle the (hopefully rare) case of $ROOT usage
This commit is contained in:
parent
70948050f9
commit
47a185d6c6
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue