mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-09 12:19:09 +00:00
silly bash
This commit is contained in:
parent
f98c3d09c4
commit
1f6fa22155
1 changed files with 4 additions and 4 deletions
|
@ -38,8 +38,8 @@ function test() {
|
||||||
|
|
||||||
# Test with our modified `PKGBUILD` in a temporary directory
|
# Test with our modified `PKGBUILD` in a temporary directory
|
||||||
orig_dir=$(pwd)
|
orig_dir=$(pwd)
|
||||||
testing_dir=$(mktmp)
|
testing_dir=$(mktemp)
|
||||||
cp PKGBUILD $testing_dir/ && cd $testing_dir
|
cp PKGBUILD $testing_dir/PKGBUILD && cd $testing_dir
|
||||||
|
|
||||||
log "#" "Moved \`PKGBUILD\` into testing directory $testing_dir"
|
log "#" "Moved \`PKGBUILD\` into testing directory $testing_dir"
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ declare -a aur_ssh_urls=("ssh://aur@aur.archlinux.org/lune.git" "ssh://aur@aur.a
|
||||||
# TODO: For the `lune` package, we need to also replace the sha256 sums in the `PKGBUILD`
|
# TODO: For the `lune` package, we need to also replace the sha256 sums in the `PKGBUILD`
|
||||||
for ssh_url in "${aur_ssh_urls[@]}"
|
for ssh_url in "${aur_ssh_urls[@]}"
|
||||||
do
|
do
|
||||||
if [ $ssh_url -ne "ssh://aur@aur.archlinux.org/lune-git.git" ]; then
|
if [ $ssh_url != "ssh://aur@aur.archlinux.org/lune-git.git" ]; then
|
||||||
log "*" "Cloning AUR package from $ssh_url"
|
log "*" "Cloning AUR package from $ssh_url"
|
||||||
|
|
||||||
# NOTE: We need to have our public and private keys in `~/.ssh/aur.pub` & `~/.ssh/aur` respectively
|
# NOTE: We need to have our public and private keys in `~/.ssh/aur.pub` & `~/.ssh/aur` respectively
|
||||||
|
@ -89,4 +89,4 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
log "*" "AUR packaging routine complete."
|
log "*" "AUR packaging routine complete."
|
||||||
|
|
Loading…
Reference in a new issue