mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
oned moved
This commit is contained in:
13
comp.sh
Normal file
13
comp.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
IN_DIR=$1
|
||||
OUT_FILE=$2
|
||||
COUNT=0
|
||||
echo "Writing from '${IN_DIR}' to '${OUT_FILE}'"
|
||||
for fn in $(ls -p ${IN_DIR} | grep -v /)
|
||||
do
|
||||
echo "Found file ${IN_DIR}/${fn}"
|
||||
echo "Adding contents of ${fn} to ${OUT_FILE}"
|
||||
ECHO "// NEW FILE: ${fn}" >> ${OUT_FILE}
|
||||
cat ${IN_DIR}/${fn} >> ${OUT_FILE}
|
||||
COUNT=$((COUNT + 1))
|
||||
done;
|
||||
echo "Done compiling ${COUNT} files from ${IN_DIR} to ${OUT_FILE}"
|
||||
Reference in New Issue
Block a user