mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-28 16:27:01 -05:00
Merge pull request #2370 from G10h4ck/android_scripts_fixup
Fix define_default_value in android scripts
This commit is contained in:
commit
123027dc11
@ -28,7 +28,7 @@ function define_default_value()
|
|||||||
VAR_NAME="${1}"
|
VAR_NAME="${1}"
|
||||||
DEFAULT_VALUE="${2}"
|
DEFAULT_VALUE="${2}"
|
||||||
|
|
||||||
[ -z "${!VAR_NAME}" ] && export ${VAR_NAME}="${DEFAULT_VALUE}"
|
[ -z "${!VAR_NAME}" ] && export ${VAR_NAME}="${DEFAULT_VALUE}" || true
|
||||||
}
|
}
|
||||||
|
|
||||||
## You are supposed to provide the following variables according to your system setup
|
## You are supposed to provide the following variables according to your system setup
|
||||||
|
@ -36,7 +36,7 @@ function define_default_value()
|
|||||||
VAR_NAME="${1}"
|
VAR_NAME="${1}"
|
||||||
DEFAULT_VALUE="${2}"
|
DEFAULT_VALUE="${2}"
|
||||||
|
|
||||||
[ -z "${!VAR_NAME}" ] && export ${VAR_NAME}="${DEFAULT_VALUE}"
|
[ -z "${!VAR_NAME}" ] && export ${VAR_NAME}="${DEFAULT_VALUE}" || true
|
||||||
}
|
}
|
||||||
|
|
||||||
define_default_value ANDROID_APK_PACKAGE "org.retroshare.service"
|
define_default_value ANDROID_APK_PACKAGE "org.retroshare.service"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user