From: Andrea Zagli Date: Tue, 6 Sep 2022 13:57:30 +0000 (+0200) Subject: Inizio script per aggiornamento rev/hash da repository git. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=64720b0f6023cdb5ab1657261cb8aa3f2a509d74;p=nix%2Fpkgs Inizio script per aggiornamento rev/hash da repository git. --- diff --git a/update_rev.sh b/update_rev.sh new file mode 100755 index 0000000..f212c8c --- /dev/null +++ b/update_rev.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +url=$(awk '/url/ {gsub("\"", "", $3); gsub(";", "", $3); print $3}' libzakutils.nix) +git ls-remote $url refs/heads/develop | awk '{print $1}'