#! /bin/sh
-SRCDIRS="src plugins renderer thumbnailer"
+WRKDIR=$(dirname $0)
+SRCDIRS="$WRKDIR/src $WRKDIR/plugins $WRKDIR/renderer $WRKDIR/thumbnailer"
if [ $# -gt 0 ]
then
if [ "x${del}" = "xy" ]
then
echo "removing .orig files"
- find src -iname "*.orig" -exec rm {} ";"
+ find $SRCDIRS -iname "*.orig" -exec rm {} ";"
else
echo "Not deleting .orig files"
fi