Skip to content

Instantly share code, notes, and snippets.

@bratsche
Created October 12, 2015 19:14
Show Gist options
  • Save bratsche/c46b93cc99de620b1999 to your computer and use it in GitHub Desktop.
Save bratsche/c46b93cc99de620b1999 to your computer and use it in GitHub Desktop.
Autoconf cleanup for El Capitan
#!/bin/sh
while true
do
if [ -d confdir-14B---/confdir-14B--- ]
then
mv confdir-14B---/confdir-14B--- a
fi
if [[ $? -ne 0 ]]
then
break
fi
rm -rf confdir-14B---
if [ -d a ]
then
mv a confdir-14B---
else
exit 1
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment