Skip to content
Snippets Groups Projects
Commit d9a3fc67 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Fix basename

parent 926a64b1
No related branches found
No related tags found
No related merge requests found
......@@ -24,4 +24,5 @@ requirements:
entry: |
#!/bin/bash
mkdir out
tar -cvf out/$1.tar.gz $1
dir_name=\$(basename $1)
tar -cvf out/${dir_name}.tar.gz $1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment