[gnome-weather] Don't use bash in the launcher script



commit a170a12350a9c08c75a1b3cde395972204cdf5bf
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sat Feb 23 17:50:54 2013 +0100

    Don't use bash in the launcher script
    
    imports.package is about not using bash, after all...

 src/gnome-weather.in |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-weather.in b/src/gnome-weather.in
index ba55453..7dba173 100755
--- a/src/gnome-weather.in
+++ b/src/gnome-weather.in
@@ -1,3 +1,5 @@
-#!/bin/sh
-exec @GJS@ -c 'imports.package.start({ name: "@PACKAGE_NAME@", version: "@PACKAGE_VERSION@", prefix: 
"@prefix@" })'
+#! GJS@
+imports.package.start({ name: "@PACKAGE_NAME@",
+                        version: "@PACKAGE_VERSION@",
+                        prefix: "@prefix@" });
 


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