diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2007-12-24 07:55:20 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2007-12-24 07:55:20 +0000 |
commit | 0ab8ea01b34c74d23521c01f04fd159abc4c1f3c (patch) | |
tree | 5558aff1aee9432617da7baf2e640db8584ef0cc /prepare-connect | |
parent | 6eb4fc959e0e2e1d42bee50ab9f874f3bd40663a (diff) |
prepare-connect: Fix path in error message.
git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@5169 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'prepare-connect')
-rwxr-xr-x | prepare-connect | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prepare-connect b/prepare-connect index 8a10b91..a7e8c32 100755 --- a/prepare-connect +++ b/prepare-connect @@ -9,12 +9,12 @@ comment=$1 count=`ls ~/ra/ra-*-$comment-*.tar.gz 2>/dev/null | wc -l` if [ $count -gt 1 ]; then echo "More than 1 file from $comment in ~/ra. Leave only one file." 1>&2 - ls ~/ra-*-$comment-*.tar.gz + ls ~/ra/ra-*-$comment-*.tar.gz exit 1 fi if [ $count -eq 0 ]; then echo "No files with name $comment in ~/ra." 1>&2 - ls ~/ra-*-$comment-*.tar.gz + ls ~/ra/ra-*-$comment-*.tar.gz exit 1 fi file=`ls ~/ra/ra-*-$comment-*.tar.gz` |