"Error: SHELLCHECK_WARNING:
/usr/share/doc/samba/printing/VampireDriversFunctions:951:15: warning[SC2216]: Piping to 'cp', a command that doesn't read stdin. Wrong command or missing xargs?
949| CWD2=""$( pwd )"" ;
950| cd ""${i}"";
951|-> echo ""yes"" | cp ../alldriverfiles.txt . 2> /dev/null ;
952|
953| cat alldriverfiles.txt \"
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
for i in */; do
CWD2="$( pwd )" ;
cd "${i}";
- echo "yes" | cp ../alldriverfiles.txt . 2> /dev/null ;
+ cp -f ../alldriverfiles.txt . 2> /dev/null ;
cat alldriverfiles.txt \
| egrep '(\\'"$(basename "$( pwd )")"'\\|Driver Name)' \
echo " "
echo " ###########################################################################################"
-###### echo "yes" | cp -f ../../../${nthost}/W32X86/${nthost}-enumdrivers3list-NTx86.txt . 2> /dev/null ;
+###### cp -f ../../../${nthost}/W32X86/${nthost}-enumdrivers3list-NTx86.txt . 2> /dev/null ;
ln -s -f ../${nthost}-enumdrivers3list-NTx86.txt ${nthost}-enumdrivers3list-NTx86.lnk ;
tac ${nthost}-enumdrivers3list-NTx86.lnk \
for i in */; do
CWD2="$( pwd )" ;
cd "${i}";
- echo "yes" | cp ../alldriverfiles.txt . 2> /dev/null ;
+ cp -f ../alldriverfiles.txt . 2> /dev/null ;
cat alldriverfiles.txt \
| egrep '(\\'"$(basename "$( pwd )")"'\\|Driver Name)' \