Signed-off-by: Matt Darfeuille <matd...@gmail.com>
---
 build/release | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/build/release b/build/release
index 714f9699..a1f4cdf6 100755
--- a/build/release
+++ b/build/release
@@ -41,6 +41,10 @@
 #                          C O N F I G U R A T I O N
 
################################################################################
 #
+# Current Script Directory
+#
+BASEDIR=${PWD}
+#
 # Git Code Repository
 #
 GIT=~/shorewall/trunk
@@ -350,7 +354,7 @@ cd $WEBDIR
 
 [ -f "$WEBDIR/index.html" -a -f "$TOOLSDIR/web/publish" ] && 
$TOOLSDIR/web/publish index.html
 
-cd ..
+cd $BASEDIR
 
 case $VERSION in
     *[bB]ase*)
-- 
2.17.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-devel mailing list
Shorewall-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to