diff options
author | anthk <anthk@texto-plano.xyz> | 2021-03-07 13:19:37 +0000 |
---|---|---|
committer | anthk <anthk@texto-plano.xyz> | 2021-03-07 13:19:37 +0000 |
commit | f787acd9d10cff683dc047bab4291e4eeca9ba4f (patch) | |
tree | b1d51a6a210a2e7ef5d39d59303e4a41b0b0d010 | |
parent | c8b01e5c363a6b5559f37f631e1a216b7f9a2538 (diff) | |
download | src-master.tar.gz |
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | bin/pack | 10 | ||||
m--------- | oldrunner | 0 |
3 files changed, 12 insertions, 0 deletions
@@ -10,4 +10,6 @@ Lista: Lector de ebooks, necesita de Lynx y unzip. +2. bin/pack +Generador de paquetes .tgz con el directorio como argumento. diff --git a/bin/pack b/bin/pack new file mode 100755 index 0000000..31993ab --- /dev/null +++ b/bin/pack @@ -0,0 +1,10 @@ +#!/bin/sh +if [[ $# -ne 1 ]] +then +echo "usage: $0 path" +exit 1 +fi +FILE="$(basename "$1" /)" +echo "generating $FILE.tgz..." +tar czf "$FILE".tgz $1 +echo "done." diff --git a/oldrunner b/oldrunner new file mode 160000 +Subproject 0e7efca5197af25e563e86ca616c85f26a3a352 |