diff options
author | Xin Li <delphij@google.com> | 2017-03-22 21:37:08 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-22 21:37:08 +0000 |
commit | 76a230167db2a351c7c237e0c52563cfcd9d6d3a (patch) | |
tree | c1b6bbbb6dc3e439ea812eb05bf88775c894f67d | |
parent | 97a4145b3682577ce15c83992edcfeb48a3d6b70 (diff) | |
parent | ffa7cb5084292a5352ca7887752738a5016255c0 (diff) | |
download | device_common-76a230167db2a351c7c237e0c52563cfcd9d6d3a.tar.gz device_common-76a230167db2a351c7c237e0c52563cfcd9d6d3a.tar.bz2 device_common-76a230167db2a351c7c237e0c52563cfcd9d6d3a.zip |
Revert "Allow injecting a script to do additional pre-package processing."
am: ffa7cb5084
Change-Id: Ie42bc6e968523b22eac5fc298fffddbdf60c1cb2
-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 |