Commit 7029608c authored by Tails developers's avatar Tails developers

Our lb scripts require building from git trees.

parent 604337b4
......@@ -4,6 +4,12 @@
umask 022
# we require building from git
if ! git rev-parse --is-inside-work-tree &> /dev/null; then
echo "${PWD} is not a git tree."
exit 1
fi
. config/amnesia
if [ -e config/amnesia.local ] ; then
. config/amnesia.local
......
#! /bin/sh
# automatically run by "lb config"
# we require building from git
if ! git rev-parse --is-inside-work-tree; then
echo "${PWD} is not a git tree. Exiting."
exit 1
fi
. config/amnesia
if [ -e config/amnesia.local ] ; then
. config/amnesia.local
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment