#!/bin/bash #http://murga-linux.com/puppy/viewtopic.php?p=994267#994267 export SUFF='-63' export METHOD='wrap' read -r -d '' HDR <<'EOF' #!/bin/bash #CPATH= export C_INCLUDE_PATH='/usr/libgcc63/gcc/i486-slitaz-linux/6.3.0/include' export CPLUS_INCLUDE_PATH='/usr/include/c++/6.3.0' #OBJC_INCLUDE_PATH EOF echo "HDR=$HDR" D='$' #I can't get the dollar sign end of line terminator to work with sed no matter what I do! for line in `cat /var/lib/tazpkg/installed/gcc63/files.list`; do #'/usr/bin/c++-63'; do # read -r -d '' SED_EXP < "$LNAME"; echo "$ONAME "'$@'>>"$LNAME"; chmod 773 "$LNAME"; ;; 'link') ln -s "$ONAME" "$LNAME"; ;; esac #exit fi done