Merge pull request #475 from th-otto/PR-2
[appimagekit/gsi.git] / patch.sh
blobb13c693d3dd6fbea65f8cf152c6de1705cb5e83d
1 #! /bin/bash
3 cd $(dirname $(readlink -f $0))
5 cd squashfuse
6 if [ ! -e ./ll.c.orig ]; then
7 patch -p1 --backup < ../squashfuse.patch
8 patch -p1 --backup < ../squashfuse_dlopen.patch
9 fi
10 if [ ! -e ./squashfuse_dlopen.c ]; then
11 cp ../squashfuse_dlopen.c .
13 if [ ! -e ./squashfuse_dlopen.h ]; then
14 cp ../squashfuse_dlopen.h .