diff --git a/Dockerfile b/Dockerfile index 2894f4f8..6693ad57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,12 @@ RUN dnf -y install git koji jq \ RUN koji download-build --arch ${arch} ${rpm_shellcheck} \ && koji download-build --arch ${arch} ${rpm_csdiff} -RUN dnf -y install "./${rpm_shellcheck}" "./${rpm_csdiff}" \ +RUN dnf -y install "./${rpm_shellcheck}" \ + && dnf clean all + +RUN dnf install -y dnf-plugins-core \ + && dnf copr enable -y packit/csutils-csdiff-170 \ + && dnf install -y csdiff \ && dnf clean all # --- Setup --- # diff --git a/docs/example.sh b/docs/example.sh index a4c63620..fab5606e 100644 --- a/docs/example.sh +++ b/docs/example.sh @@ -4,13 +4,13 @@ # Quoting # ======= -# echo $1 # Unquoted variables +echo $1 # Unquoted variables # rm "~/my file.txt" # Quoted tilde expansion # v='--verbose="true"'; cmd $v # Literal quotes in variables -# touch $@ # Unquoted $@ -# echo 'Path is $PATH' # Variables in single quotes +touch $@ # Unquoted $@ +echo 'Path is $PATH' # Variables in single quotes # trap "echo Took ${SECONDS}s" 0 # Prematurely expanded trap -# unset var[i] # Array index treated as glob +unset var[i] # Array index treated as glob # Conditionals # ============