Skip to content

Instantly share code, notes, and snippets.

@SanCampos
SanCampos / git-build.sh
Last active November 9, 2017 23:51
A script that automates package installations pulled with git (Usable for the AUR)
#!/bin/bash
# A script that automates package installations pulled with git
#Check if git url is present, exit if not
if ! [[ $1 =~ .+\/.+\.git ]]
then
echo -e "fatal: You must specift a git repository\n"
echo "usage: git-script.sh <git-url>"
exit