mirror of
https://github.com/BishopFox/theos-jailed.git
synced 2026-11-07 10:25:57 -10:00
[makefiles] Remove bashisms.
From: Dustin L. Howett <[email protected]> git-svn-id: http://svn.howett.net/svn/theos/trunk@607 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
This commit is contained in:
1 parent
0f3b3bd425
commit
331969e623
2 files changed
+4
-4
No files matched your search
@@ -2,11 +2,11 @@ export TARGET_REMOTE := 0
|
||||
|
||||
ifeq ($(_THEOS_CAN_PACKAGE),$(_THEOS_TRUE))
|
||||
internal-install::
|
||||
@if [[ "$(_THEOS_PACKAGE_LAST_VERSION)" == "none" ]]; then \
|
||||
@if [ "$(_THEOS_PACKAGE_LAST_VERSION)" = "none" ]; then \
|
||||
echo "$(MAKE) install requires that you build a package before you try to install it." >&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
@if [[ ! -f "$(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_FILENAME).deb" ]]; then \
|
||||
@if [ ! -f "$(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_FILENAME).deb" ]; then \
|
||||
echo "Could not find \"$(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_FILENAME).deb\" to install. Aborting." >&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
@@ -12,11 +12,11 @@ export THEOS_DEVICE_IP THEOS_DEVICE_PORT
|
||||
|
||||
ifeq ($(_THEOS_CAN_PACKAGE),$(_THEOS_TRUE))
|
||||
internal-install::
|
||||
@if [[ "$(_THEOS_PACKAGE_LAST_VERSION)" == "none" ]]; then \
|
||||
@if [ "$(_THEOS_PACKAGE_LAST_VERSION)" = "none" ]]; then \
|
||||
echo "$(MAKE) install requires that you build a package before you try to install it." >&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
@if [[ ! -f "$(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_FILENAME).deb" ]]; then \
|
||||
@if [ ! -f "$(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_FILENAME).deb" ]; then \
|
||||
echo "Could not find \"$(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_FILENAME).deb\" to install. Aborting." >&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user