diff options
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` |