Missing shebang on sample script

Tiago Daitx tiago.daitx at canonical.com
Sun Nov 6 18:44:13 UTC 2016


The file openjdk/jdk/src/share/sample/scripting/scriptpad/src/scripts/memory.sh
is missing a shebang.

This happens on both OpenJDK 7 and 8.

--- openjdk7/jdk/src/share/sample/scripting/scriptpad/src/scripts/memory.sh.orig
+++ openjdk7/jdk/src/share/sample/scripting/scriptpad/src/scripts/memory.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
 #
 # Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
 #

--- openjdk8/jdk/src/share/sample/scripting/scriptpad/src/scripts/memory.sh.orig
+++ openjdk8/jdk/src/share/sample/scripting/scriptpad/src/scripts/memory.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
 #
 # Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
 #


Note: I'm a participant, not a contributor.

Regards,

-- 
Tiago Stürmer Daitx
Software Engineer
tiago.daitx at canonical.com

PGP Key: 4096R/F5B213BE (hkp://keyserver.ubuntu.com)
Fingerprint = 45D0 FE5A 8109 1E91 866E  8CA4 1931 8D5E F5B2 13BE


More information about the jdk8u-dev mailing list