aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/simplaret16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/simplaret b/src/simplaret
index a1ab83c..f306a11 100755
--- a/src/simplaret
+++ b/src/simplaret
@@ -185,13 +185,13 @@ function simplaret_repository_name {
elif echo $repository | grep -qe %; then
repository_name="`echo $repository | cut -d % -f 1`"
if [ -z "$repository_name" ]; then
- echo you should set a name for the repository $repository
- echo please correct your $REPOS_CONF
+ echo $BASENAME: you should set a name for the repository $repository
+ echo $BASENAME: please correct your $REPOS_CONF
exit 1
fi
else
- echo you should set a name for the repository $repository
- echo please correct your $REPOS_CONF
+ echo $BASENAME: you should set a name for the repository $repository
+ echo $BASENAME: please correct your $REPOS_CONF
exit 1
fi
@@ -204,13 +204,13 @@ function simplaret_repository_url {
if echo $repository | grep -qe %; then
repository_url="`echo $repository | cut -d % -f 2`"
if [ -z "$repository_url" ]; then
- echo you should set a url for the repository $repository
- echo please correct your $REPOS_CONF
+ echo $BASENAME: you should set a url for the repository $repository
+ echo $BASENAME: please correct your $REPOS_CONF
exit 1
fi
else
- echo you should set a url for the repository $repository
- echo please correct your $REPOS_CONF
+ echo $BASENAME: you should set a url for the repository $repository
+ echo $BASENAME: please correct your $REPOS_CONF
exit 1
fi