cm: Add a wrapper script for Curl which acts like wget
* Lots of stuff in the wild actually uses wget, and Toybox doesn't provide it. We already have Curl which does the same thing just with some different arguments. This wrapper script can handle it. Change-Id: Ic02da709fcd29808b96fabcd1ac4ddd9465f635f
This commit is contained in:
10
prebuilt/common/Android.mk
Normal file
10
prebuilt/common/Android.mk
Normal file
@@ -0,0 +1,10 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
# a wrapper for curl which provides wget syntax, for compatibility
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := wget
|
||||
LOCAL_SRC_FILES := bin/wget
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_CLASS := EXECUTABLES
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
|
||||
include $(BUILD_PREBUILT)
|
||||
Reference in New Issue
Block a user