From a39f17108e43e8b676738c15d8f0c150787de514 Mon Sep 17 00:00:00 2001 From: Shane Kearns Date: Fri, 25 Sep 2009 14:28:53 +0200 Subject: Move selfsigned cert & key out of root directory Moved the certificate/key to the src/s60installs path. Updated createpackage.pl to look in this new location. Task-number: QTBUG-4553 Reviewed-by: axis --- bin/createpackage.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/createpackage.pl') diff --git a/bin/createpackage.pl b/bin/createpackage.pl index 4597b0484a..7e8775817a 100755 --- a/bin/createpackage.pl +++ b/bin/createpackage.pl @@ -146,9 +146,9 @@ my $signed_sis_name = $pkgoutputbasename.".sis"; my $scriptpath = dirname(__FILE__); my $certtext = $certificate; my $certpath = $scriptpath; -$certpath =~ s-^(.*[^\\])$-$1\\-o; # ensure path ends with a backslash -$certpath = $certpath."../"; # certificates are one step up in hierarcy -$certpath =~ s-/-\\-go; # for those working with UNIX shells +$certpath =~ s-^(.*[^\\])$-$1\\-o; # ensure path ends with a backslash +$certpath =~ s-/-\\-go; # for those working with UNIX shells +$certpath =~ s-bin\\$-src\\s60installs\\-; # certificates are one step up in hierarcy # Check some pre-conditions and print error messages if needed unless (length($templatepkg) && length($platform) && length($target)) { -- cgit v1.2.1