diff options
author | David Spencer | 2018-06-03 11:56:29 +0200 |
---|---|---|
committer | David Spencer | 2018-06-03 11:56:29 +0200 |
commit | 5f4bc547a00a19219e97ae3f26a27216fbb9ae87 (patch) | |
tree | 18a49ad8f86e2765b17534cdadc9cd949f6b3315 /python/python-mysqlclient/python-mysqlclient.SlackBuild | |
parent | 46ab0e0d9852744bbd17d18a8b63f43921a7b4b4 (diff) | |
download | old.slackbuilds-5f4bc547a00a19219e97ae3f26a27216fbb9ae87.tar.gz |
python/python-mysqlclient: Fix for Github tarball.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/python-mysqlclient/python-mysqlclient.SlackBuild')
-rw-r--r-- | python/python-mysqlclient/python-mysqlclient.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/python-mysqlclient/python-mysqlclient.SlackBuild b/python/python-mysqlclient/python-mysqlclient.SlackBuild index b0831ed032..8d12adc495 100644 --- a/python/python-mysqlclient/python-mysqlclient.SlackBuild +++ b/python/python-mysqlclient/python-mysqlclient.SlackBuild @@ -27,7 +27,7 @@ VERSION=${VERSION:-1.3.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=mysqlclient +SRCNAM=mysqlclient-python if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -61,15 +61,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-python-$VERSION +rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-python-$VERSION +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG |