mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
build.sh: fix stripping of .git
This commit is contained in:
parent
97c209fe4b
commit
cda90321ef
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
|
@ -109,7 +109,7 @@ for arch in $arches; do
|
||||||
elif [[ $url =~ https://github.com/* ]]; then
|
elif [[ $url =~ https://github.com/* ]]; then
|
||||||
autodetected_repository=${url##https://github.com}
|
autodetected_repository=${url##https://github.com}
|
||||||
fi
|
fi
|
||||||
if [[ $autodetected_repository =~ *.git ]]; then
|
if [[ $autodetected_repository =~ \.git ]]; then
|
||||||
autodetected_repository=${autodetected_repository%%.git}
|
autodetected_repository=${autodetected_repository%%.git}
|
||||||
fi
|
fi
|
||||||
echo $arch: autodetected repository: $autodetected_repository
|
echo $arch: autodetected repository: $autodetected_repository
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue