diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-08-23 11:12:47 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-08-23 11:12:47 +0900 |
commit | f1f0f187ab68bac4d9f5402f64d887a539a92218 (patch) | |
tree | 86dfdf33e68a4b649d67bc97d8c1571a22f57bf5 /debian/_buildscripts/local/internals/_build_common.sh | |
parent | 684553c8146c7f379581fb51664f09abe2fa1aa5 (diff) | |
download | tde-packaging-f1f0f187ab68bac4d9f5402f64d887a539a92218.tar.gz tde-packaging-f1f0f187ab68bac4d9f5402f64d887a539a92218.zip |
DEB build scripts: added ability to build from a specified folder.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/internals/_build_common.sh')
-rwxr-xr-x | debian/_buildscripts/local/internals/_build_common.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/_buildscripts/local/internals/_build_common.sh b/debian/_buildscripts/local/internals/_build_common.sh index be1b520ec..0a17cb700 100755 --- a/debian/_buildscripts/local/internals/_build_common.sh +++ b/debian/_buildscripts/local/internals/_build_common.sh @@ -89,6 +89,8 @@ function _set_path_variables() #---------------------------- function init_common() { + local CURR_DIR=`pwd` + # Check script folder export SCRIPT_DIR=$(dirname $(readlink -f "$0")) @@ -230,7 +232,7 @@ function init_common() exit 10 fi - cd "$SCRIPT_DIR" + cd "${CURR_DIR}" } |