diff bin/check-ports @ 66:1f3a64254c9c

Replace @@ETCDIR@@ and @@INDEXFILE@@ dynamically at package build time
author Franz Glasner <hg@dom66.de>
date Thu, 21 Mar 2019 16:28:45 +0100
parents ffd5f575edd5
children 259e2a4b4ca6
line wrap: on
line diff
--- a/bin/check-ports	Thu Mar 21 16:17:10 2019 +0100
+++ b/bin/check-ports	Thu Mar 21 16:28:45 2019 +0100
@@ -11,7 +11,7 @@
 #
 # Configuration directory
 #
-: ${CONFIGDIR:=/usr/local/etc/local-bsdtools}
+: ${CONFIGDIR:=@@ETCDIR@@}
 
 #
 # Mapping configuration: installed package name -> original package name
@@ -48,7 +48,7 @@
 #
 : ${PORTSDIR:=/usr/ports}
 : ${INDEXDIR:=${PORTSDIR}}
-: ${INDEXFILE:=INDEX-11}
+: ${INDEXFILE:=@@INDEXFILE@@}
 
 
 get_remote_repo_versions() {