aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-12 13:06:51 -0500
committerB. Watson <yalhcru@gmail.com>2022-03-12 13:06:51 -0500
commitcbdee94649e6d82a8710cfab3e020cb1d1f460c3 (patch)
tree7bdff43ac7da01fb1143dd0967d5de8931d8a2d3 /development
parent8d48f8269c4612bb955341884145554be618f828 (diff)
development/php-xdebug: Fix PRGNAM in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'development')
-rw-r--r--development/php-xdebug/php-xdebug.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/php-xdebug/php-xdebug.SlackBuild b/development/php-xdebug/php-xdebug.SlackBuild
index f5bf66135cbb7..5a45362a596ca 100644
--- a/development/php-xdebug/php-xdebug.SlackBuild
+++ b/development/php-xdebug/php-xdebug.SlackBuild
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220312 bkw: Modified by SlackBuilds.org: PRGNAM must be a constant,
+# not 'PRGNAM=$SRCNAM-xdebug'. It must match the PRGNAM in the .info file.
+
cd $(dirname $0) ; CWD=$(pwd)
SRCNAM=xdebug
-PRGNAM=php-$SRCNAM
+PRGNAM=php-xdebug
VERSION=${VERSION:-3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,15 +37,12 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0