Skip to content

Commit

Permalink
Added MALLOC_CHECK_ to environ-manpage-names and creating shell scrip…
Browse files Browse the repository at this point in the history
…t for restoring folders' index.lst files..
  • Loading branch information
decal committed Nov 16, 2016
1 parent 93fae52 commit b8257e6
Show file tree
Hide file tree
Showing 4 changed files with 6,929 additions and 0 deletions.
1 change: 1 addition & 0 deletions environ-names/environ-manpage-names.txt
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@ MAILCC
MAILCHECK
MAILPATH
MAILRC
MALLOC_CHECK_
MANHTMLHOST
MANHTMLPAGER
MAN_KEEP_FORMATTING
Expand Down
22 changes: 22 additions & 0 deletions scripts/checkout-index-lists
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
#
# Check each folder's index.lst file out of the code repository
# in case they were mistakenly removed..
#

declare -a xdirnames=$( find . -maxdepth 1 -type d -print )

while [ ! -d .git ]
do cd ..

declare cdirname=$( basename `pwd` )
[[ $cdirname == 'GIT' ]] && exit 1
done

for d in ${xdirnames[*]}
do cd -- /home/super/GIT/decal/werdlists/"`basename $d`"
mv index.lst index.lst.bak 2>/dev/null
git checkout index.lst
done

exit 0
Loading

0 comments on commit b8257e6

Please sign in to comment.