remove old --destination parameter from __file explorers

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-16 08:30:02 +01:00
parent f69802b3d8
commit 501fcf36d1
2 changed files with 2 additions and 10 deletions

View file

@ -21,11 +21,7 @@
# Retrieve the md5sum of a file to be created, if it is already existing.
#
if [ -f "$__object/parameter/destination" ]; then
destination="$(cat "$__object/parameter/destination")"
else
destination="/$__object_id"
fi
destination="/$__object_id"
if [ -e "$destination" ]; then
if [ -f "$destination" ]; then

View file

@ -21,11 +21,7 @@
# Check whether file exists or not
#
if [ -f "$__object/parameter/destination" ]; then
destination="$(cat "$__object/parameter/destination")"
else
destination="/$__object_id"
fi
destination="/$__object_id"
if [ -e "$destination" ]; then
echo yes