You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by js...@apache.org on 2014/06/19 00:08:20 UTC

[2/2] webworks commit: CB-6968 fix bashism (source) in update script and bb10-ndk-version

CB-6968 fix bashism (source) in update script and bb10-ndk-version


Project: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/commit/002c0456
Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/002c0456
Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/002c0456

Branch: refs/heads/master
Commit: 002c04561d7e7e12a23d81f3b94bb72b1f9c016b
Parents: cf04d7c
Author: Josh Soref <js...@blackberry.com>
Authored: Tue Jun 17 17:19:06 2014 -0400
Committer: Josh Soref <js...@blackberry.com>
Committed: Wed Jun 18 18:03:52 2014 -0400

----------------------------------------------------------------------
 .../templates/project/cordova/bb10-ndk-version  |  2 +-
 blackberry10/bin/update                         | 40 ++++++++++----------
 2 files changed, 21 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/002c0456/blackberry10/bin/templates/project/cordova/bb10-ndk-version
----------------------------------------------------------------------
diff --git a/blackberry10/bin/templates/project/cordova/bb10-ndk-version b/blackberry10/bin/templates/project/cordova/bb10-ndk-version
index cdbadf6..3964910 100755
--- a/blackberry10/bin/templates/project/cordova/bb10-ndk-version
+++ b/blackberry10/bin/templates/project/cordova/bb10-ndk-version
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 <<COMMENT
     Licensed to the Apache Software Foundation (ASF) under one
        or more contributor license agreements.  See the NOTICE file

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/002c0456/blackberry10/bin/update
----------------------------------------------------------------------
diff --git a/blackberry10/bin/update b/blackberry10/bin/update
index f3f2bc2..342984a 100755
--- a/blackberry10/bin/update
+++ b/blackberry10/bin/update
@@ -1,27 +1,27 @@
-#! /bin/sh
-#       Licensed to the Apache Software Foundation (ASF) under one
-#       or more contributor license agreements.  See the NOTICE file
-#       distributed with this work for additional information
-#       regarding copyright ownership.  The ASF licenses this file
-#       to you under the Apache License, Version 2.0 (the
-#       "License"); you may not use this file except in compliance
-#       with the License.  You may obtain a copy of the License at
-#
-#         http://www.apache.org/licenses/LICENSE-2.0
-#
-#       Unless required by applicable law or agreed to in writing,
-#       software distributed under the License is distributed on an
-#       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#       KIND, either express or implied.  See the License for the
-#       specific language governing permissions and limitations
-#       under the License.
-#
+#! /bin/bash
+<<COMMENT
+    Licensed to the Apache Software Foundation (ASF) under one
+       or more contributor license agreements.  See the NOTICE file
+       distributed with this work for additional information
+       regarding copyright ownership.  The ASF licenses this file
+       to you under the Apache License, Version 2.0 (the
+       "License"); you may not use this file except in compliance
+       with the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+       Unless required by applicable law or agreed to in writing,
+       software distributed under the License is distributed on an
+       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+       KIND, either express or implied.  See the License for the
+       specific language governing permissions and limitations
+       under the License.
+
+COMMENT
 # update a cordova/blackberry10 project
 #
 # USAGE
 #   ./update [projectpath]
-#
-#!/bin/sh
 
 BIN_DIR=$(dirname "$0")
 source "$BIN_DIR/init"