tools/squashfskit4: drop unused tool
[openwrt/staging/aparcar.git] / tools / squashfskit4 / patches / 0001-fix-version.sh.patch
diff --git a/tools/squashfskit4/patches/0001-fix-version.sh.patch b/tools/squashfskit4/patches/0001-fix-version.sh.patch
deleted file mode 100644 (file)
index 5f0894b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/squashfs-tools/version.sh
-+++ b/squashfs-tools/version.sh
-@@ -27,13 +27,11 @@ if [ -z "$OUTPUT" ] ; then
- fi
- our_date() {
--case $(uname) in
--NetBSD|OpenBSD|DragonFly|FreeBSD|Darwin)
--        date -r "$1" "$2"
--        ;;
--*)
--        date -d "@$1" "$2"
--esac
-+      if date --version 2>&1 | grep -q "GNU coreutils"; then
-+              date -d "@$1" "$2"
-+      else
-+              date -r "$1" "$2"
-+      fi
- }
- try_version() {