"Fossies" - the Fresh Open Source Software Archive

Member "littleutils-1.2.4/autoconf/grab_scripts.sh" (28 Mar 2021, 662 Bytes) of package /linux/privat/littleutils-1.2.4.tar.lz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 # vim: set filetype=sh:
    3 
    4 mkdir tmp
    5 cd tmp
    6 wget -N http://git.savannah.gnu.org/cgit/config.git/plain/config.guess \
    7   http://git.savannah.gnu.org/cgit/config.git/plain/config.sub \
    8   http://git.savannah.gnu.org/cgit/automake.git/plain/lib/install-sh \
    9   http://git.savannah.gnu.org/cgit/automake.git/plain/lib/missing \
   10   http://git.savannah.gnu.org/cgit/automake.git/plain/lib/mkinstalldirs
   11 cd ..
   12 echo ''
   13 for FNAME in config.guess config.sub install-sh missing mkinstalldirs ; do
   14   cmp -s "$FNAME" "tmp/${FNAME}"
   15   if [ $? -eq 0 ]; then
   16     echo "... skipping $FNAME"
   17   else
   18     echo "... updating $FNAME"
   19     cp "tmp/${FNAME}" .
   20   fi
   21 done
   22 rm -rf tmp