[glib-networking] tests: create-files script should work from any directory



commit 045292ea64e8abfddf68f81269f6dc30663727b7
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Aug 28 11:57:44 2015 -0500

    tests: create-files script should work from any directory
    
    This script currently goes haywire unless run from the tls/tests/files
    directory.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754266

 tls/tests/files/create-files.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tls/tests/files/create-files.sh b/tls/tests/files/create-files.sh
index 9b4a737..3afc8fb 100755
--- a/tls/tests/files/create-files.sh
+++ b/tls/tests/files/create-files.sh
@@ -5,6 +5,8 @@ msg() {
   echo "* $1 ..."
 }
 
+cd `dirname $0`
+
 echo
 echo "This script re-generates all private keys and certificates"
 echo "needed to run the Unit Test."


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]