Skip to content

Commit

Permalink
skip packaging dir generation for non-git based autopkgtest runs
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Dec 20, 2016
1 parent 1f1b084 commit 1af0b8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions generate-packaging-dir
Expand Up @@ -2,6 +2,11 @@

set -e

if [ ! -d .git ]; then
echo "not running in a git checkout, skipping"
exit 0
fi

ID="$1"
VERSION_ID="$2"

Expand Down

0 comments on commit 1af0b8c

Please sign in to comment.