mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove v from version, fix script docs
This commit is contained in:
parent
4b209e3ee3
commit
642c1256db
2 changed files with 5 additions and 2 deletions
|
@ -33,7 +33,7 @@ _usage() {
|
|||
echo "Script to install Salt into the Python environment:"
|
||||
echo ""
|
||||
echo "usage: ${0}"
|
||||
echo " [-h|--help] [-v|--version]"
|
||||
echo " [-h|--help]"
|
||||
echo ""
|
||||
echo " -h, --help this message"
|
||||
echo ""
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# - Xcode
|
||||
#
|
||||
# Usage:
|
||||
# This script can be passed 2 parameters
|
||||
# This script can be passed the following parameter:
|
||||
# $1 : <version> : the version name to give the package. Defaults to the
|
||||
# git repo version
|
||||
#
|
||||
|
@ -54,6 +54,9 @@ else
|
|||
VERSION=$1
|
||||
fi
|
||||
|
||||
# Strip the v from the beginning
|
||||
VERSION=${VERSION#"v"}
|
||||
|
||||
CPU_ARCH="$(uname -m)"
|
||||
SRC_DIR="$(git rev-parse --show-toplevel)"
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
|
Loading…
Add table
Reference in a new issue