mirror of
https://github.com/penpot/penpot.git
synced 2025-04-13 07:21:40 -05:00
🐛 Fix control on entry parameters
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
parent
c6b540868f
commit
d06a0bb501
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
if [ ! -d "$1" ] || [ ! -d "$2" ]; then
|
||||
echo "Expecting path to backend and destination directory"
|
||||
|
||||
if [ "$#" -ne 0 ]; then
|
||||
echo "Expecting parameters: 1=path to backend; 2=destination directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue