Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
executable file 10 lines (9 sloc) 327 Bytes
#!/bin/bash
for spec in */*.spec; do
d=$(dirname $spec)
source0=$(spectool --list-files $spec | awk '{print $2}' | head -n1)
sourcebase=$(basename "$source0")
[ -h $d/$sourcebase ] || continue
git annex whereis "$d/$sourcebase" | grep -q " web" && continue
git annex addurl --file "$d/$sourcebase" "$source0"
done
You can’t perform that action at this time.