File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 1111 echo unknown arch $ARCH
1212 exit -1
1313fi
14+
15+ DEBUG=false
16+
17+ for arg in " $@ " ; do
18+ if [[ " $arg " == " --debug" ]]; then
19+ DEBUG=true
20+ break
21+ fi
22+ done
23+
1424OUTDIR=portable/$ARCH /deadbeef-$VERSION
1525PLUGDIR=$OUTDIR /plugins
1626DOCDIR=$OUTDIR /doc
@@ -113,8 +123,10 @@ for i in po/*.gmo ; do
113123 cp $i $OUTDIR /locale/$base /LC_MESSAGES/deadbeef.mo
114124done
115125
126+ if ! $DEBUG ; then
116127# strip
117- if [ $OSTYPE != ' Darwin' ]; then
118- strip --strip-unneeded $OUTDIR /deadbeef
119- for i in $PLUGDIR /* .so ; do strip --strip-unneeded $i ; done
128+ if [ $OSTYPE != ' Darwin' ]; then
129+ strip --strip-unneeded $OUTDIR /deadbeef
130+ for i in $PLUGDIR /* .so ; do strip --strip-unneeded $i ; done
131+ fi
120132fi
You can’t perform that action at this time.
0 commit comments