Add missing license disclaimers to script files.
diff --git a/scripts/build-defaults.shi b/scripts/build-defaults.shi
index 0a740d4..90e3e4e 100644
--- a/scripts/build-defaults.shi
+++ b/scripts/build-defaults.shi
@@ -1,3 +1,17 @@
+# Copyright 2014 The Android Open Source Project
+#
+# Licensed 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.
+
 # Default values for all build scripts.
 
 SOURCE_PACKAGES="\
diff --git a/scripts/common.shi b/scripts/common.shi
index 8e8b58d..cb60d39 100644
--- a/scripts/common.shi
+++ b/scripts/common.shi
@@ -1,3 +1,17 @@
+# Copyright 2014 The Android Open Source Project
+#
+# Licensed 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.
+
 # Common routines - do not execute directly.
 
 # Sanitize environment
@@ -215,7 +229,7 @@
             Darwin)
                 _SHU_BUILD_OS=darwin
                 ;;
-            FreeBsd)  # note: this is not tested
+            FreeBSD)  # note: this is not tested
                 _SHU_BUILD_OS=freebsd
                 ;;
             Linux)
diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh
index a788ea8..4e79237 100755
--- a/scripts/rebuild.sh
+++ b/scripts/rebuild.sh
@@ -1,5 +1,19 @@
 #!/bin/sh
 
+# Copyright 2014 The Android Open Source Project
+#
+# Licensed 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.
+
 . $(dirname "$0")/common.shi
 shell_import build-defaults.shi
 
diff --git a/scripts/unpack-sources.sh b/scripts/unpack-sources.sh
index 28d0eb0..fd4ba3a 100755
--- a/scripts/unpack-sources.sh
+++ b/scripts/unpack-sources.sh
@@ -1,5 +1,19 @@
 #!/bin/sh
 
+# Copyright 2014 The Android Open Source Project
+#
+# Licensed 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.
+
 # Include common function definitions.
 . $(dirname "$0")/common.shi