Make sure the build_deb.sh script is started from the cligen directory.
This commit is contained in:
parent
03f153d6fa
commit
3468adb20e
1 changed files with 7 additions and 1 deletions
|
|
@ -6,7 +6,13 @@ set -e
|
||||||
# This script is used to build Debian packages for Clixon.
|
# This script is used to build Debian packages for Clixon.
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=$(./version.sh)
|
# Make sure the script is started from the cligen directory
|
||||||
|
if [ ! -f scripts/version.sh ]; then
|
||||||
|
echo "This script must be run from the clixon directory."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
VERSION=$(./scripts/version.sh)
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Failed to determine the version of Clixon."
|
echo "Failed to determine the version of Clixon."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue