source make.conf instead of hardcoding values
This commit is contained in:
parent
dbb0b160ef
commit
fe1934653d
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
PKGDIR="/usr/portage/packages"
|
|
||||||
|
. /etc/portage/make.conf
|
||||||
|
|
||||||
if [[ $(pgrep -f -c $(basename $0)) -gt 1 ]] ; then
|
if [[ $(pgrep -f -c $(basename $0)) -gt 1 ]] ; then
|
||||||
echo other instance still running
|
echo other instance still running
|
||||||
|
|
Loading…
Add table
Reference in a new issue