Revert "Merge branch 'dev'"
This reverts commit4a7dd7f959, reversing changes made toa89a0cc1c6.
This commit is contained in:
@@ -1,22 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2016-2024 The Hush developers
|
||||
# Copyright (c) 2016-2023 The Hush developers
|
||||
# Released under the GPLv3
|
||||
|
||||
# Usage: update-copyrights.sh 2024 2025
|
||||
# Usage: update-copyrights.sh 2021 2022
|
||||
# TODO: verify $1 and $2 exist
|
||||
|
||||
if ! command -v ack &> /dev/null
|
||||
then
|
||||
echo "ack could not be found. Please install it and try again."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! command -v xargs &> /dev/null
|
||||
then
|
||||
echo "xargs could not be found. Please install it and try again."
|
||||
exit 1
|
||||
fi
|
||||
# TODO: verify ack and xargs exist on this system
|
||||
|
||||
# This update comments in source code
|
||||
ack -l -i "20..-20..*Hush dev" | xargs ./util/replace.pl -$1 -$2
|
||||
|
||||
Reference in New Issue
Block a user