diff --git a/bin/git2talimat.sh b/bin/git2talimat.sh index 034afc859..784b3f1fc 100755 --- a/bin/git2talimat.sh +++ b/bin/git2talimat.sh @@ -1,11 +1,32 @@ packager="milisarge" account="$1" name="$2" +version="$3" file="$name.html" url=https://github.com/"$account/$name" + curl -k $url > "$file" desc=`sed -n 's|[^<]*\([^<]*\)[^<]*|\1\n|gp' $file` -echo "# description:$desc" -echo "# url:$url" -echo "# packager:$packager" -echo "# depends on: " +mkdir -p $name + +tee "$name/talimat" > /dev/null <