[PATCH 4/7] improve kirigami dir detection

Martin Gysel me at bearsh.org
Tue Aug 16 18:23:49 UTC 2016


---
 scripts/gen_icons_qrc.sh | 2 +-
 scripts/gen_qml_qrc.sh   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/gen_icons_qrc.sh b/scripts/gen_icons_qrc.sh
index dff68df..164b807 100755
--- a/scripts/gen_icons_qrc.sh
+++ b/scripts/gen_icons_qrc.sh
@@ -5,7 +5,7 @@ BREEZEICONS_DIR="breeze-icons"
 ICONS_SIZES=(48 32 24 22)
 TAB="    "
 
-kirigami_dir="$(dirname $(readlink -f $0))/.."
+kirigami_dir="$(cd $(dirname $(readlink -f $0))/.. && pwd)"
 
 case $1 in
 -h|--help)
diff --git a/scripts/gen_qml_qrc.sh b/scripts/gen_qml_qrc.sh
index 6e1c378..df61e07 100755
--- a/scripts/gen_qml_qrc.sh
+++ b/scripts/gen_qml_qrc.sh
@@ -2,7 +2,7 @@
 
 TAB="    "
 
-kirigami_dir="$(dirname $(readlink -f $0))/.."
+kirigami_dir="$(cd $(dirname $(readlink -f $0))/.. && pwd)"
 
 case $1 in
 -h|--help)
-- 
2.9.3



More information about the Plasma-devel mailing list