__directory type does not have a destination parameter

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-03-29 20:10:40 +02:00
parent ac274802de
commit fb426bd412

View file

@ -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