Skip to content
Snippets Groups Projects
Commit 19e2d98b authored by Bob Mottram's avatar Bob Mottram
Browse files

Full path for completion file

parent ea9868d3
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ PROJECT_NAME='freedombone'
ADMIN_USERNAME=
SUBJECT=
MESSAGE=
COMPLETION_FILE=/root/${PROJECT_NAME}-completed.txt
while [ $# -gt 1 ]
do
......@@ -64,10 +65,6 @@ if [ ! "$MESSAGE" ]; then
exit 0
fi
if [ ! "$COMPLETION_FILE" ]; then
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
fi
if [ ! "$ADMIN_USERNAME" ]; then
ADMIN_USERNAME=$(grep "Admin user" "$COMPLETION_FILE" | awk -F ':' '{print $2}')
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment