Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 4 insertions, 4 deletions
-rwxr-xr-xcsg8
diff --git a/csg b/csg
index f8d7fbb..4363b9f 100755
--- a/csg
+++ b/csg
@@ -116,11 +116,11 @@ then
do
dates=($(git log --follow --pretty=format:%ad --date="format:%d %B %Y" -- "$file"))
line="$OUTPUT${file:1:-2}html\t${dates[@]: -3:3}\t${dates[@]:0:3}"
- echo -e $line >> "$CSG_TIMESTAMP_FILE"
+ echo -e "$line" >> "$CSG_TIMESTAMP_FILE"
done
}
- headc=$(git rev-parse HEAD)
+ headc="$(git rev-parse HEAD)"
if [ ! -f "$CSG_TIMESTAMP_FILE" ] || [ "$headc" != "$(head -1 "$CSG_TIMESTAMP_FILE")" ]
then
startTimer "[Stage 0] Creating timestamps file"
@@ -149,7 +149,7 @@ scr_path=()
scr_recip=()
while read -r reg; read -r scripts
do
- cat $scripts > $CSG_TMP_DIR/csg-${#scr_path[@]}.awk
+ cat $scripts > "$CSG_TMP_DIR/csg-${#scr_path[@]}.awk"
scr_path+=("$CSG_TMP_DIR/csg-${#scr_path[@]}.awk")
scr_recip+=("$(find $OUTPUT -type f -regex "$reg")")
done < <($CSG_AWK '
@@ -245,7 +245,7 @@ transform-file() {
mv "$file" "$outf"
}
-echo '$0 != 0 {print}' > $CSG_TMP_DIR/csg-print.awk
+echo '$0 != 0 {print}' > "$CSG_TMP_DIR/csg-print.awk"
while read -r file
do