[X2Go-Commits] [buildscripts] 09/26: bin/sbuild-deb-package: backport from bin/build-deb-package: set ${script_path} and include common.sh.
git-admin at x2go.org
git-admin at x2go.org
Sun Nov 13 20:35:46 CET 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit f6b93f65c2faad0045565e12c531e8aa98b82132
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sun Nov 13 19:25:16 2016 +0100
bin/sbuild-deb-package: backport from bin/build-deb-package: set ${script_path} and include common.sh.
---
bin/sbuild-deb-package | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package
index 56e8619..3de8e1f 100755
--- a/bin/sbuild-deb-package
+++ b/bin/sbuild-deb-package
@@ -16,7 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-export PATH="${HOME}/bin:${PATH}"
+typeset script_path="$(dirname "$(readlink -e "${BASH_SOURCE}")")"
+
+. "${script_path}/common.sh"
GIT_USER="gituser"
GIT_HOSTNAME="git.mydomain.org"
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list