Skip to content

Commit

Permalink
Merge pull request #411 from JLuszawski/fix-STAMPFILE-creation
Browse files Browse the repository at this point in the history
fix unnecessary STAMPFILE creation in rmlint.sh
  • Loading branch information
sahib authored May 24, 2020
2 parents d4cb613 + 2f5f769 commit 6a5065f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/formats/sh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ fi
USER='%s'
GROUP='%s'

STAMPFILE=$(mktemp 'rmlint.XXXXXXXX.stamp')

# Set to true on -n
DO_DRY_RUN=

Expand Down Expand Up @@ -365,6 +363,7 @@ do
;;
k)
DO_KEEP_DIR_TIMESTAMPS=true
STAMPFILE=$(mktemp 'rmlint.XXXXXXXX.stamp')
;;
*)
usage
Expand Down

0 comments on commit 6a5065f

Please sign in to comment.