linuxcnc/scripts/get-deb-component-from-git
Sebastian Kuzminsky 0e967d353d build system: make the git scripts more user friendly
Git can tell you what the root dir of the repo is, so the scripts don't
need to force the user to cd there first.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-09-16 09:09:48 -06:00

12 lines
196 B
Bash
Executable file

#!/bin/bash
if [ ! -z "$EMC2_HOME" ]; then
source $EMC2_HOME/scripts/githelper.sh
else
source $(git rev-parse --show-toplevel)/scripts/githelper.sh
fi
githelper $1
echo $DEB_COMPONENT