diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-08-02 18:30:29 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-05 18:10:41 +0100 |
commit | fe7f3ece28242b08663bddb04fe9a41d066e54c4 (patch) | |
tree | ca95621d4432415597f819fced33fcc7bc51ceb6 /network/google-cli/google-cli.SlackBuild | |
parent | ea4737a027c0ae6c6cef09f4087abe1a142d430a (diff) |
network/google-cli: Fix tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/google-cli/google-cli.SlackBuild')
-rw-r--r-- | network/google-cli/google-cli.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/network/google-cli/google-cli.SlackBuild b/network/google-cli/google-cli.SlackBuild index 127de52a8d22b..5dd36df8851b5 100644 --- a/network/google-cli/google-cli.SlackBuild +++ b/network/google-cli/google-cli.SlackBuild @@ -57,15 +57,13 @@ fi set -e SRCNAM="googler" -SRCVER="v2.6" rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz -mv $SRCNAM-$VERSION $PRGNAM-$VERSION -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |