mirror of
https://asciireactor.com/otho/cloudy-agn.git
synced 2025-04-05 03:55:45 +00:00
update
This commit is contained in:
parent
a6634e492d
commit
25c3d21bff
@ -14,11 +14,11 @@ bin_dir="$script_dir/../bin"
|
|||||||
griddir=$1
|
griddir=$1
|
||||||
grid_id=$(echo ${griddir}|sed 's@^\.\/\(.*\)@\1@'|sed 's@.grids@@'|sed 's@\/@.@g')
|
grid_id=$(echo ${griddir}|sed 's@^\.\/\(.*\)@\1@'|sed 's@.grids@@'|sed 's@\/@.@g')
|
||||||
|
|
||||||
if [[ -e "${grid_id}.tar.gz" ]]; then
|
if [[ -e "fortfiles_${grid_id}.tar.gz" ]]; then
|
||||||
echo "package exists"
|
echo "package exists"
|
||||||
exit 5
|
exit 5
|
||||||
else
|
else
|
||||||
echo "${grid_id}.tar.gz Doesn't exist."
|
echo "fortfiles_${grid_id}.tar.gz Doesn't exist."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $griddir
|
cd $griddir
|
||||||
|
Loading…
Reference in New Issue
Block a user