read .devscripts if available
This commit is contained in:
parent
f324b97e8b
commit
2e351bfc78
|
@ -2,11 +2,10 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if test ! -r "$HOME/.devscripts"; then
|
DEVSCRIPTS="${HOME}/.devscripts"
|
||||||
echo "$HOME/.descripts must exist"
|
test -r "${DEVSCRIPTS}" && . "${DEVSCRIPTS}"
|
||||||
exit 1
|
DEVSCRIPTS="${XDG_CONFIG_HOME:-${HOME}/.config}/debian/devscripts"
|
||||||
fi
|
test -r "${DEVSCRIPTS}" && . "${DEVSCRIPTS}"
|
||||||
. "$HOME/.devscripts"
|
|
||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
DEBIAN_FILES="$PWD/packaging/debian"
|
DEBIAN_FILES="$PWD/packaging/debian"
|
||||||
|
|
Loading…
Reference in New Issue