aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-file-desktopentry
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-file-desktopentry')
-rw-r--r--perl/perl-file-desktopentry/perl-file-desktopentry.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-file-desktopentry/perl-file-desktopentry.SlackBuild b/perl/perl-file-desktopentry/perl-file-desktopentry.SlackBuild
index 16c610c557e4..e679145b412e 100644
--- a/perl/perl-file-desktopentry/perl-file-desktopentry.SlackBuild
+++ b/perl/perl-file-desktopentry/perl-file-desktopentry.SlackBuild
@@ -19,6 +19,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-file-desktopentry
VERSION=${VERSION:-0.22}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}