Commit ef262b3c authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Affiche le chemin complet du répertoire en cas d'erreur, dans prezbuilder.

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -13,7 +13,7 @@ checkdir() { ...@@ -13,7 +13,7 @@ checkdir() {
fi fi
local DIR=`readlink -f $1` local DIR=`readlink -f $1`
if [[ ! -d "$DIR" ]]; then if [[ ! -d "$DIR" ]]; then
echo "$1 is not an existing directory" >&2 echo "$DIR does not exist or is not a directory" >&2
usage usage
fi fi
echo "$DIR" echo "$DIR"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment