SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
22
net/olsrd/patches/patch-make_hash_source_sh
Normal file
22
net/olsrd/patches/patch-make_hash_source_sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
Index: make/hash_source.sh
|
||||
--- make/hash_source.sh.orig
|
||||
+++ make/hash_source.sh
|
||||
@@ -96,14 +96,16 @@ if [ ! -e "$buildDataTxt" ]; then
|
||||
if [ "$verbose" = "0" ]; then
|
||||
cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
||||
else
|
||||
- cp -p -v "$tmpBuildDataTxt" "$buildDataTxt"
|
||||
+ echo cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
||||
+ cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
||||
fi
|
||||
elif [ -n "$(diff -I "^const char build_date\[\].*\$" "$tmpBuildDataTxt" "$buildDataTxt" | sed 's/"/\\"/g')" ]; then
|
||||
echo "[UPDATE] $buildDataTxt"
|
||||
if [ "$verbose" = "0" ]; then
|
||||
cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
||||
else
|
||||
- cp -p -v "$tmpBuildDataTxt" "$buildDataTxt"
|
||||
+ echo cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
||||
+ cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
||||
fi
|
||||
fi
|
||||
rm -f "$tmpBuildDataTxt"
|
Loading…
Add table
Add a link
Reference in a new issue