diff --git a/ydotool/build.sh b/ydotool/build.sh index d9a6de9..fe6cf56 100755 --- a/ydotool/build.sh +++ b/ydotool/build.sh @@ -6,12 +6,13 @@ ROOT=$(pwd) function fetch() { git clone https://github.com/s3lph/ydotool "${SRCDIR}/ydotool" + cd "${SRCDIR}/ydotool" git checkout feat-getpwnam } function prepare() { - apt install -y build-essential cmake pkg-config scdoc cd "${SRCDIR}/ydotool" + apt install -y build-essential cmake pkg-config scdoc export VERSION="$(git describe --tags | cut -d- -f1-2 | sed -re "s/-/~/g" -e "s/^v//g")-1" export ISODATE="$(git log -1 --format="%aI")" mkdir build