mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 9c65e28849b4709dcb79d5b78d62e89b1977a690
parent ad57b53d11c67325f7524a4088034350f47c9214
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Tue,  3 Sep 2019 11:08:39 +0200

fix

Diffstat:
cpupload | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpupload b/cpupload @@ -2,7 +2,7 @@ # cp file to upload directory FILE="$1" -OFILE="${2:-$FILE}" +OFILE="${2:-$(basename $FILE)}" DEST=~browser2/uploads sudo cp -i "$FILE" "$DEST/$OFILE" sudo chown browser2:browser2 "$DEST/$OFILE"