Commit 3a85591b authored by Holger Levsen's avatar Holger Levsen

reproducible Debian: fixup syntax error in previous commit, c7d6f107

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent c7d6f107
...@@ -81,22 +81,23 @@ do_day(){ ...@@ -81,22 +81,23 @@ do_day(){
elif [ "$(readlink -f $FULLTARGET.0)" = "$MONTHPATH/$DAY/$FILE" ] ; then elif [ "$(readlink -f $FULLTARGET.0)" = "$MONTHPATH/$DAY/$FILE" ] ; then
# also ignoring this # also ignoring this
: :
else
# so far we found three such cases...
if [ ! -e "$FULLTARGET.1" ] ; then
ln -s $MONTHPATH/$DAY/$FILE $FULLTARGET.1
echo "$MONTHPATH/$DAY/$FILE linked from $FULLTARGET.1"
let COUNTER+=1
elif [ "$(readlink -f $FULLTARGET.1)" = "$MONTHPATH/$DAY/$FILE" ] ; then
# also ignoring this
:
else else
# so far, no such case has been found # so far we found three such cases...
echo "oh no $FULLTARGET.1 also exists and thus we don't know what to do, thus ignoring." >> $PROBLEMS if [ ! -e "$FULLTARGET.1" ] ; then
echo "$MONTHPATH/$DAY/$FILE is the source of the problem" >> $PROBLEMS ln -s $MONTHPATH/$DAY/$FILE $FULLTARGET.1
ls -l $FULLTARGET >> $PROBLEMS echo "$MONTHPATH/$DAY/$FILE linked from $FULLTARGET.1"
ls -l $FULLTARGET.0 >> $PROBLEMS let COUNTER+=1
echo >> $PROBLEMS elif [ "$(readlink -f $FULLTARGET.1)" = "$MONTHPATH/$DAY/$FILE" ] ; then
# also ignoring this
:
else
# so far, no such case has been found
echo "oh no $FULLTARGET.1 also exists and thus we don't know what to do, thus ignoring." >> $PROBLEMS
echo "$MONTHPATH/$DAY/$FILE is the source of the problem" >> $PROBLEMS
ls -l $FULLTARGET >> $PROBLEMS
ls -l $FULLTARGET.0 >> $PROBLEMS
echo >> $PROBLEMS
fi
fi fi
fi fi
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment