Signed-off-by: Matt Darfeuille <[email protected]>
---
Shorewall/install.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Shorewall/install.sh b/Shorewall/install.sh
index b709f8e..698bd53 100755
--- a/Shorewall/install.sh
+++ b/Shorewall/install.sh
@@ -24,9 +24,6 @@
VERSION=4.5.5 #The Build script inserts the actual version
-#
-# Change to the directory containing this script
-#
usage() # $1 = exit status
{
ME=$(basename $0)
@@ -53,6 +50,9 @@ install_file() # $1 = source $2 = target $3 = mode
run_install $T $OWNERSHIP -m $3 $1 ${2}
}
+#
+# Change to the directory containing this script
+#
cd "$(dirname $0)"
if [ -f shorewall.service ]; then
--
2.8.3
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel