initial commit of a *whole bunch* of old Egressive shell scripts, used to make many people redundant.
This commit is contained in:
commit
43e0f5b59e
329 changed files with 31937 additions and 0 deletions
16
egdrupalhelpers/egdrupalmoduleversions
Executable file
16
egdrupalhelpers/egdrupalmoduleversions
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -n "$1" ] ; then
|
||||
dir=$1
|
||||
else
|
||||
dir=$PWD
|
||||
fi
|
||||
|
||||
for module in * ; do
|
||||
if [ ! -f $module/$module.info ] ; then
|
||||
echo "Can't find $module/$module.info" 1>&2
|
||||
continue
|
||||
fi
|
||||
echo -n $module
|
||||
awk -F= '/^version/{version=$2}END{print version}' $module/$module.info | sed -e 's/"//g'
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue