diff options
author | Xin Li <delphij@google.com> | 2017-03-22 21:39:37 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-22 21:39:37 +0000 |
commit | 0c9efb20d53753e1e548de6fb10f96689742f430 (patch) | |
tree | 361cbac557fd76c908a498d5d1b4bd62db3ed3d2 | |
parent | 21ef81e4a605f26d5a276076202224aa64101f68 (diff) | |
parent | 76a230167db2a351c7c237e0c52563cfcd9d6d3a (diff) | |
download | device_common-0c9efb20d53753e1e548de6fb10f96689742f430.tar.gz device_common-0c9efb20d53753e1e548de6fb10f96689742f430.tar.bz2 device_common-0c9efb20d53753e1e548de6fb10f96689742f430.zip |
Revert "Allow injecting a script to do additional pre-package processing." am: ffa7cb5084android-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1oreo-vts-releaseoreo-dev
am: 76a230167d
Change-Id: I798940766226c18de4d5a5cc218cfe10a47f2fdb
-rwxr-xr-x | generate-packages.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/generate-packages.sh b/generate-packages.sh index 473cef1..d24f75e 100755 --- a/generate-packages.sh +++ b/generate-packages.sh @@ -14,9 +14,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -if [ $# -lt 6 -o $# -gt 7 ] +if [ $# != 6 ] then - echo Usage: $0 BUILD_ID BUILD ROOTDEVICE DEVICE MANUFACTURER PRODUCT [PATCHSCRIPT] + echo Usage: $0 BUILD_ID BUILD ROOTDEVICE DEVICE MANUFACTURER PRODUCT echo Example: $0 1075408 KOT49Y mako mako lge occam fi @@ -28,7 +28,6 @@ BUILD=$2 ROOTDEVICE=$3 DEVICE=$4 MANUFACTURER=$5 -PATCHSCRIPT=$7 cd ../$MANUFACTURER/$ROOTDEVICE/self-extractors || echo Error change dir @@ -145,10 +144,6 @@ do mv ${FILEDIR_ROOT}/device-vendor-sailfish.mk ${FILEDIR_ROOT_SHARE} fi - if [ -n ${PATCHSCRIPT} ]; then - ${PATCHSCRIPT} - fi - echo \ \ Generating self-extracting script SCRIPT=extract-$COMPANY-$DEVICE.sh cat PROLOGUE > tmp/$SCRIPT || echo \ \ \ \ Error generating script |