aboutsummaryrefslogtreecommitdiff
path: root/misc/fcrackzip/fcrackzip.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fcrackzip/fcrackzip.SlackBuild')
-rw-r--r--misc/fcrackzip/fcrackzip.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/fcrackzip/fcrackzip.SlackBuild b/misc/fcrackzip/fcrackzip.SlackBuild
index e6748b027fd47..596d922eb19a9 100644
--- a/misc/fcrackzip/fcrackzip.SlackBuild
+++ b/misc/fcrackzip/fcrackzip.SlackBuild
@@ -19,6 +19,8 @@
# (INCLUDING NEGLIGENCE OR 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=fcrackzip
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-2}
@@ -32,7 +34,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}