aboutsummaryrefslogtreecommitdiff
path: root/ruby/rubygem-fastercsv
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/rubygem-fastercsv')
-rw-r--r--ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild b/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild
index d2201611e1193..35ac3f856e862 100644
--- a/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild
+++ b/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild
@@ -20,6 +20,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=rubygem-fastercsv
VERSION=${VERSION:-1.5.5}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}