Files
turtle/tools/bin/unlock
Wojciech Kozyra 4b29da8f5b fixes for expo outside universe (#8)
* fixes for expo outside universe

* move test scripts + fix typos
2019-01-18 11:36:08 +01:00

17 lines
352 B
Bash
Executable File

#!/bin/bash
set -e -o pipefail
KEYFILE=$HOME/.expo-internal/turtle-git-crypt-key
if [ ! -f "$KEYFILE" ]; then
echo "Missing keyfile, running update-local-secrets first"
update-local-secrets --keyfile-only
fi
if ! command -v git-crypt >/dev/null 2>&1 ; then
echo "You need to have git-crypt installed."
exit 1
fi
git-crypt unlock "$KEYFILE"