Created
July 20, 2016 19:00
-
-
Save fschutt/349e77b822820c0bf0138d5deb9b6f8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget=/usr/bin/wget | |
CONFIG="" | |
CONFIG_GUESS_URL='http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' | |
CONFIG_SUB_URL='http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' | |
update-configure(){ | |
for CONFIG in $(find -name config.guess) ; do | |
$wget -q -O $CONFIG $CONFIG_GUESS_URL | |
done | |
for CONFIG in $(find -name config.sub) ; do | |
$wget -q -O $CONFIG $CONFIG_SUB_URL | |
done | |
} | |
update-configure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment