From 242d6e838907559a919b103e049cae16aaf89505 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 12 Jan 2014 16:30:03 +0200 Subject: [PATCH] Have create-tarballs set directory correctly --- patching/scripts/create-tarballs.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patching/scripts/create-tarballs.sh b/patching/scripts/create-tarballs.sh index 97191aec..522c8f61 100755 --- a/patching/scripts/create-tarballs.sh +++ b/patching/scripts/create-tarballs.sh @@ -1,5 +1,12 @@ #!/bin/bash -ex +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +echo $DIR + +( +cd $DIR/.. + shopt -s nullglob mkdir -p tarballs @@ -22,3 +29,5 @@ do rm -rf tmp ) done + +)