Home Home > GIT Browse
summaryrefslogtreecommitdiff
blob: 063b9b8e423331b2f32f63c8a92ebab5d5a75673 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Determine the location of the mainline linux git repository to use as a
# reference by other scripts.

gitdir=${LINUX_GIT:-$HOME/linux-2.6}
if ! [ -d "$gitdir/.git" ]; then
        echo "No linux git tree found (please set the \"LINUX_GIT\" environment variable)" >&2
        exit 1
fi
echo "$gitdir"