source make.conf instead of hardcoding values

This commit is contained in:
layman 2021-02-18 12:44:37 +01:00
parent dbb0b160ef
commit fe1934653d
No known key found for this signature in database
GPG key ID: 7B0F1A69527F615C

View file

@ -1,5 +1,6 @@
#!/usr/bin/env bash
PKGDIR="/usr/portage/packages"
. /etc/portage/make.conf
if [[ $(pgrep -f -c $(basename $0)) -gt 1 ]] ; then
echo other instance still running