Newer version upstream
This commit is contained in:
parent
fb69c9f8a5
commit
b2c077c8d8
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#$Id$
|
#$Id$
|
||||||
#Copyright (c) 2017-2019 Pierre Pronchery <khorben@defora.org>
|
#Copyright (c) 2017-2020 Pierre Pronchery <khorben@defora.org>
|
||||||
#
|
#
|
||||||
#Redistribution and use in source and binary forms, with or without
|
#Redistribution and use in source and binary forms, with or without
|
||||||
#modification, are permitted provided that the following conditions are met:
|
#modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -42,6 +42,7 @@ TR="tr"
|
||||||
_fixme()
|
_fixme()
|
||||||
{
|
{
|
||||||
res=0
|
res=0
|
||||||
|
subdirs=
|
||||||
|
|
||||||
$DATE
|
$DATE
|
||||||
echo
|
echo
|
||||||
|
@ -56,6 +57,10 @@ _fixme()
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done < "$PROJECTCONF"
|
done < "$PROJECTCONF"
|
||||||
|
if [ ! -n "$subdirs" ]; then
|
||||||
|
_error "Could not locate directories to analyze"
|
||||||
|
return $?
|
||||||
|
fi
|
||||||
for subdir in $subdirs; do
|
for subdir in $subdirs; do
|
||||||
[ -d "../$subdir" ] || continue
|
[ -d "../$subdir" ] || continue
|
||||||
for filename in $($FIND "../$subdir" -type f | $SORT); do
|
for filename in $($FIND "../$subdir" -type f | $SORT); do
|
||||||
|
@ -152,6 +157,14 @@ _debug()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#error
|
||||||
|
_error()
|
||||||
|
{
|
||||||
|
echo "$PROGNAME: $@" 1>&2
|
||||||
|
return 2
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#usage
|
#usage
|
||||||
_usage()
|
_usage()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user