remove old --destination parameter from __file explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
f69802b3d8
commit
501fcf36d1
2 changed files with 2 additions and 10 deletions
|
@ -21,11 +21,7 @@
|
||||||
# Retrieve the md5sum of a file to be created, if it is already existing.
|
# 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"
|
destination="/$__object_id"
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -e "$destination" ]; then
|
if [ -e "$destination" ]; then
|
||||||
if [ -f "$destination" ]; then
|
if [ -f "$destination" ]; then
|
||||||
|
|
|
@ -21,11 +21,7 @@
|
||||||
# Check whether file exists or not
|
# Check whether file exists or not
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ -f "$__object/parameter/destination" ]; then
|
|
||||||
destination="$(cat "$__object/parameter/destination")"
|
|
||||||
else
|
|
||||||
destination="/$__object_id"
|
destination="/$__object_id"
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -e "$destination" ]; then
|
if [ -e "$destination" ]; then
|
||||||
echo yes
|
echo yes
|
||||||
|
|
Loading…
Reference in a new issue