summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2017-12-20 16:12:15 -0500
committerJordan Wiens <jordan@psifertex.com>2017-12-20 16:12:15 -0500
commit26edabfdd7211012c7c8a03186d3025eea9aa345 (patch)
tree5ab4ab48cf8f47c4e5325f3b3ae4cf9e5e8d5194 /scripts
parent8c67a3a275b75ba799ce2e03081afeb916766849 (diff)
fixes broken lastrun creation
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/linux-setup.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/linux-setup.sh b/scripts/linux-setup.sh
index c6e376ce..bb1e0f28 100755
--- a/scripts/linux-setup.sh
+++ b/scripts/linux-setup.sh
@@ -54,6 +54,10 @@ lastrun()
then
echo lastrun already exists, remove to create a new one
else
+ if [ ! -d ${HOME}/.binaryninja ]
+ then
+ mkdir ${HOME}/.binaryninja
+ fi
echo ${BNPATH} > ${HOME}/.binaryninja/lastrun
fi
}