fix issue at install-openvim.sh
[osm/openvim.git] / database_utils / dump_db.sh
index 67d6823..affb2be 100755 (executable)
@@ -2,7 +2,7 @@
 
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -22,8 +22,8 @@
 ##
 
 LICENSE_HEAD='/**
-* Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-* This file is part of openmano
+* Copyright 2017 Telefónica Investigación y Desarrollo, S.A.U.
+* This file is part of openvim
 * All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -54,7 +54,7 @@ DBNAME="vim_db"
 MYSQL=$(which mysql)
 AWK=$(which awk)
 GREP=$(which grep)
-DIRNAME=`dirname $0`
+DIRNAME=`dirname $(readlink -f $0)`
  
 function usage(){
     echo -e "Usage: $0 OPTIONS"