Stéphane Lepin 5 жил өмнө
parent
commit
2c0b0220cd

+ 2 - 1
ci/linux/package-ubuntu.sh

@@ -2,7 +2,8 @@
 
 
 set -e
 set -e
 
 
-source ../ci_includes.generated.sh
+script_dir=$(dirname "$0")
+source "$script_dir/../ci_includes.generated.sh"
 
 
 export GIT_HASH=$(git rev-parse --short HEAD)
 export GIT_HASH=$(git rev-parse --short HEAD)
 export PKG_VERSION="1-$GIT_HASH-$BRANCH_SHORT_NAME-git"
 export PKG_VERSION="1-$GIT_HASH-$BRANCH_SHORT_NAME-git"

+ 2 - 1
ci/macos/package-macos.sh

@@ -2,7 +2,8 @@
 
 
 set -e
 set -e
 
 
-source ../ci_includes.generated.sh
+script_dir=$(dirname "$0")
+source "$script_dir/../ci_includes.generated.sh"
 
 
 OSTYPE=$(uname)
 OSTYPE=$(uname)