diff --git a/steps/coreutils-9.4/pass1.sh b/steps/coreutils-9.4/pass1.sh index f4690da1..4972e0d0 100755 --- a/steps/coreutils-9.4/pass1.sh +++ b/steps/coreutils-9.4/pass1.sh @@ -20,7 +20,7 @@ regenerate_files() { . ../../import-gnulib.sh - VERSION=$(basename "${BASH_SOURCE[0]}" .sh | sed 's/coreutils-//') + VERSION=$(basename "${PWD}" | sed 's/coreutils-//') echo "$VERSION" > .tarball-version # We don't have autopoint from gettext yet.