From aeee33c4ef16c56b2ccc27c4823b8c9ea3cc1802 Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Wed, 27 Jan 2021 17:33:40 -0500 Subject: [PATCH] Use full paths --- clients/samdrucker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/samdrucker.sh b/clients/samdrucker.sh index ed5288c..81b41e1 100755 --- a/clients/samdrucker.sh +++ b/clients/samdrucker.sh @@ -46,9 +46,9 @@ do pkg_args="$pkg_args packages[]=$pkg" done -hostname=`hostname` -uname=`uname` -version=`freebsd-version` +hostname=`/bin/hostname` +uname=`/usr/bin/uname` +version=`/bin/freebsd-version` repo=`/usr/sbin/pkg -vv | $GREP url | $CUT -f2 -d \"` # we save this to a file to avoid potential command line arguement overflow